home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1995-01-19 | 196.8 KB | [ ONLN/HLX2]
open in: MacOS 8.1
extracted
|
Win98
extracted
|
DOS
extracted
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary ).
Confidence Program Detection Match Type Support
10%
dexvert
MacBinary (archive/macBinary)
fallback
Supported
100%
file
MacBinary II, inited, Fri Oct 8 06:43:23 1993, modified Thu Jan 19 07:10:31 1995, creator 'HLX2', type 'ONLN', 194930 bytes "AppleSearch File Format Ref" , at 0x2f9f2 6353 bytes resource
default (weak)
99%
file
data
default
100%
TrID
MacBinary 2
default (weak)
100%
siegfried
fmt/1762 MacBinary (II)
default
100%
lsar
MacBinary
default
id metadata key value macFileType [ ONLN] macFileCreator [ HLX2]
hex view +--------+-------------------------+-------------------------+--------+--------+ |00000000| 00 1b 41 70 70 6c 65 53 | 65 61 72 63 68 20 46 69 |..AppleS|earch Fi| |00000010| 6c 65 20 46 6f 72 6d 61 | 74 20 52 65 66 00 00 00 |le Forma|t Ref...| |00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000040| 00 4f 4e 4c 4e 48 4c 58 | 32 01 00 00 00 00 00 00 |.ONLNHLX|2.......| |00000050| 00 00 00 00 02 f9 72 00 | 00 18 d1 a8 da f4 cb ab |......r.|........| |00000060| 44 07 37 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |D.7.....|........| |00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 a0 30 00 00 |........|.....0..| |00000080| 09 f0 09 41 70 70 6c 65 | 53 65 61 72 63 68 20 55 |...Apple|Search U| |00000090| 70 64 61 74 65 20 46 69 | 6c 65 20 46 6f 72 6d 61 |pdate Fi|le Forma| |000000a0| 74 20 52 65 66 65 72 65 | 6e 63 65 0d 0d f0 20 41 |t Refere|nce... A| |000000b0| 70 70 6c 65 20 43 6f 6d | 70 75 74 65 72 2c 20 49 |pple Com|puter, I| |000000c0| 6e 63 2e 0d 54 68 69 73 | 20 6d 61 6e 75 61 6c 20 |nc..This| manual | |000000d0| 69 73 20 63 6f 70 79 72 | 69 67 68 74 65 64 20 62 |is copyr|ighted b| |000000e0| 79 20 41 70 70 6c 65 20 | 6f 72 20 62 79 20 41 70 |y Apple |or by Ap| |000000f0| 70 6c 65 d5 73 20 73 75 | 70 70 6c 69 65 72 73 2c |ple.s su|ppliers,| |00000100| 20 77 69 74 68 20 61 6c | 6c 20 72 69 67 68 74 73 | with al|l rights| |00000110| 20 72 65 73 65 72 76 65 | 64 2e 20 55 6e 64 65 72 | reserve|d. Under| |00000120| 20 74 68 65 20 63 6f 70 | 79 72 69 67 68 74 20 6c | the cop|yright l| |00000130| 61 77 73 2c 20 74 68 69 | 73 20 6d 61 6e 75 61 6c |aws, thi|s manual| |00000140| 20 6d 61 79 20 6e 6f 74 | 20 62 65 20 63 6f 70 69 | may not| be copi| |00000150| 65 64 2c 20 69 6e 20 77 | 68 6f 6c 65 20 6f 72 20 |ed, in w|hole or | |00000160| 69 6e 20 70 61 72 74 2c | 20 77 69 74 68 6f 75 74 |in part,| without| |00000170| 20 74 68 65 20 77 72 69 | 74 74 65 6e 20 63 6f 6e | the wri|tten con| |00000180| 73 65 6e 74 20 6f 66 20 | 41 70 70 6c 65 20 43 6f |sent of |Apple Co| |00000190| 6d 70 75 74 65 72 2c 20 | 49 6e 63 2e 20 54 68 69 |mputer, |Inc. Thi| |000001a0| 73 20 65 78 63 65 70 74 | 69 6f 6e 20 64 6f 65 73 |s except|ion does| |000001b0| 20 6e 6f 74 20 61 6c 6c | 6f 77 20 63 6f 70 69 65 | not all|ow copie| |000001c0| 73 20 74 6f 20 62 65 20 | 6d 61 64 65 20 66 6f 72 |s to be |made for| |000001d0| 20 6f 74 68 65 72 73 2c | 20 77 68 65 74 68 65 72 | others,| whether| |000001e0| 20 6f 72 20 6e 6f 74 20 | 73 6f 6c 64 2c 20 62 75 | or not |sold, bu| |000001f0| 74 20 61 6c 6c 20 6f 66 | 20 74 68 65 20 6d 61 74 |t all of| the mat| |00000200| 65 72 69 61 6c 20 70 75 | 72 63 68 61 73 65 64 20 |erial pu|rchased | |00000210| 6d 61 79 20 62 65 20 73 | 6f 6c 64 2c 20 67 69 76 |may be s|old, giv| |00000220| 65 6e 2c 20 6f 72 20 6c | 65 6e 74 20 74 6f 20 61 |en, or l|ent to a| |00000230| 6e 6f 74 68 65 72 20 70 | 65 72 73 6f 6e 2e 20 55 |nother p|erson. U| |00000240| 6e 64 65 72 20 74 68 65 | 20 6c 61 77 2c 20 63 6f |nder the| law, co| |00000250| 70 79 69 6e 67 20 69 6e | 63 6c 75 64 65 73 20 74 |pying in|cludes t| |00000260| 72 61 6e 73 6c 61 74 69 | 6e 67 20 69 6e 74 6f 20 |ranslati|ng into | |00000270| 61 6e 6f 74 68 65 72 20 | 6c 61 6e 67 75 61 67 65 |another |language| |00000280| 2e 20 0d 54 68 65 20 41 | 70 70 6c 65 20 6c 6f 67 |. .The A|pple log| |00000290| 6f 20 69 73 20 61 20 72 | 65 67 69 73 74 65 72 65 |o is a r|egistere| |000002a0| 64 20 74 72 61 64 65 6d | 61 72 6b 20 6f 66 20 41 |d tradem|ark of A| |000002b0| 70 70 6c 65 20 43 6f 6d | 70 75 74 65 72 2c 20 49 |pple Com|puter, I| |000002c0| 6e 63 2e 20 55 73 65 20 | 6f 66 20 74 68 65 20 d2 |nc. Use |of the .| |000002d0| 6b 65 79 62 6f 61 72 64 | d3 20 41 70 70 6c 65 20 |keyboard|. Apple | |000002e0| 6c 6f 67 6f 20 28 4f 70 | 74 69 6f 6e 2d 53 68 69 |logo (Op|tion-Shi| |000002f0| 66 74 2d 4b 29 20 66 6f | 72 20 63 6f 6d 6d 65 72 |ft-K) fo|r commer| |00000300| 63 69 61 6c 20 70 75 72 | 70 6f 73 65 73 20 77 69 |cial pur|poses wi| |00000310| 74 68 6f 75 74 20 74 68 | 65 20 70 72 69 6f 72 20 |thout th|e prior | |00000320| 77 72 69 74 74 65 6e 20 | 63 6f 6e 73 65 6e 74 20 |written |consent | |00000330| 6f 66 20 41 70 70 6c 65 | 20 6d 61 79 20 63 6f 6e |of Apple| may con| |00000340| 73 74 69 74 75 74 65 20 | 74 72 61 64 65 6d 61 72 |stitute |trademar| |00000350| 6b 20 69 6e 66 72 69 6e | 67 65 6d 65 6e 74 20 61 |k infrin|gement a| |00000360| 6e 64 20 75 6e 66 61 69 | 72 20 63 6f 6d 70 65 74 |nd unfai|r compet| |00000370| 69 74 69 6f 6e 20 69 6e | 20 76 69 6f 6c 61 74 69 |ition in| violati| |00000380| 6f 6e 20 6f 66 20 66 65 | 64 65 72 61 6c 20 61 6e |on of fe|deral an| |00000390| 64 20 73 74 61 74 65 20 | 6c 61 77 73 2e 0d 45 76 |d state |laws..Ev| |000003a0| 65 72 79 20 65 66 66 6f | 72 74 20 68 61 73 20 62 |ery effo|rt has b| |000003b0| 65 65 6e 20 6d 61 64 65 | 20 74 6f 20 65 6e 73 75 |een made| to ensu| |000003c0| 72 65 20 74 68 61 74 20 | 74 68 65 20 69 6e 66 6f |re that |the info| |000003d0| 72 6d 61 74 69 6f 6e 20 | 69 6e 20 74 68 69 73 20 |rmation |in this | |000003e0| 6d 61 6e 75 61 6c 20 69 | 73 20 61 63 63 75 72 61 |manual i|s accura| |000003f0| 74 65 2e 20 41 70 70 6c | 65 20 69 73 20 6e 6f 74 |te. Appl|e is not| |00000400| 20 72 65 73 70 6f 6e 73 | 69 62 6c 65 20 66 6f 72 | respons|ible for| |00000410| 20 70 72 69 6e 74 69 6e | 67 20 6f 72 20 63 6c 65 | printin|g or cle| |00000420| 72 69 63 61 6c 20 65 72 | 72 6f 72 73 2e 0d a9 20 |rical er|rors... | |00000430| 41 70 70 6c 65 20 43 6f | 6d 70 75 74 65 72 2c 20 |Apple Co|mputer, | |00000440| 49 6e 63 2e 2c 20 31 39 | 39 33 0d 32 30 35 32 35 |Inc., 19|93.20525| |00000450| 20 4d 61 72 69 61 6e 69 | 20 41 76 65 6e 75 65 20 | Mariani| Avenue | |00000460| 0d 43 75 70 65 72 74 69 | 6e 6f 2c 20 43 41 20 20 |.Cuperti|no, CA | |00000470| 39 35 30 31 34 2d 36 32 | 39 39 0d 28 34 30 38 29 |95014-62|99.(408)| |00000480| 20 39 39 36 2d 31 30 31 | 30 0d 41 70 70 6c 65 2c | 996-101|0.Apple,| |00000490| 20 74 68 65 20 41 70 70 | 6c 65 20 6c 6f 67 6f 2c | the App|le logo,| |000004a0| 20 41 70 70 6c 65 54 61 | 6c 6b 2c 20 4c 61 73 65 | AppleTa|lk, Lase| |000004b0| 72 57 72 69 74 65 72 2c | 20 4d 61 63 69 6e 74 6f |rWriter,| Macinto| |000004c0| 73 68 20 61 6e 64 20 4d | 50 57 20 61 72 65 20 74 |sh and M|PW are t| |000004d0| 72 61 64 65 6d 61 72 6b | 73 20 6f 66 20 41 70 70 |rademark|s of App| |000004e0| 6c 65 20 43 6f 6d 70 75 | 74 65 72 2c 20 49 6e 63 |le Compu|ter, Inc| |000004f0| 2e 2c 20 72 65 67 69 73 | 74 65 72 65 64 20 69 6e |., regis|tered in| |00000500| 20 74 68 65 20 55 6e 69 | 74 65 64 20 53 74 61 74 | the Uni|ted Stat| |00000510| 65 73 20 61 6e 64 20 6f | 74 68 65 72 20 63 6f 75 |es and o|ther cou| |00000520| 6e 74 72 69 65 73 2e 20 | 0d 41 70 70 6c 65 53 65 |ntries. |.AppleSe| |00000530| 61 72 63 68 20 61 6e 64 | 20 51 75 69 63 6b 54 69 |arch and| QuickTi| |00000540| 6d 65 20 61 72 65 20 74 | 72 61 64 65 6d 61 72 6b |me are t|rademark| |00000550| 73 20 6f 66 20 41 70 70 | 6c 65 20 43 6f 6d 70 75 |s of App|le Compu| |00000560| 74 65 72 2c 20 49 6e 63 | 2e 0d 41 64 6f 62 65 2c |ter, Inc|..Adobe,| |00000570| 20 41 64 6f 62 65 20 49 | 6c 6c 75 73 74 72 61 74 | Adobe I|llustrat| |00000580| 6f 72 2c 20 61 6e 64 20 | 50 6f 73 74 53 63 72 69 |or, and |PostScri| |00000590| 70 74 20 61 72 65 20 72 | 65 67 69 73 74 65 72 65 |pt are r|egistere| |000005a0| 64 20 74 72 61 64 65 6d | 61 72 6b 73 20 6f 66 20 |d tradem|arks of | |000005b0| 41 64 6f 62 65 20 53 79 | 73 74 65 6d 73 2c 20 49 |Adobe Sy|stems, I| |000005c0| 6e 63 2e 20 0d 48 65 6c | 76 65 74 69 63 61 20 61 |nc. .Hel|vetica a| |000005d0| 6e 64 20 54 69 6d 65 73 | 20 61 72 65 20 72 65 67 |nd Times| are reg| |000005e0| 69 73 74 65 72 65 64 20 | 74 72 61 64 65 6d 61 72 |istered |trademar| |000005f0| 6b 73 20 6f 66 20 4c 69 | 6e 6f 74 79 70 65 20 43 |ks of Li|notype C| |00000600| 6f 6d 70 61 6e 79 2e 0d | 4d 69 63 72 6f 73 6f 66 |ompany..|Microsof| |00000610| 74 20 69 73 20 61 20 72 | 65 67 69 73 74 65 72 65 |t is a r|egistere| |00000620| 64 20 74 72 61 64 65 6d | 61 72 6b 20 6f 66 20 4d |d tradem|ark of M| |00000630| 69 63 72 6f 73 6f 66 74 | 20 43 6f 72 70 6f 72 61 |icrosoft| Corpora| |00000640| 74 69 6f 6e 2e 0d 51 75 | 61 72 6b 58 50 72 65 73 |tion..Qu|arkXPres| |00000650| 73 20 69 73 20 61 20 72 | 65 67 69 73 74 65 72 65 |s is a r|egistere| |00000660| 64 20 74 72 61 64 65 6d | 61 72 6b 20 6f 66 20 51 |d tradem|ark of Q| |00000670| 75 61 72 6b 2c 20 49 6e | 63 2e 0d 53 69 6d 75 6c |uark, In|c..Simul| |00000680| 74 61 6e 65 6f 75 73 6c | 79 20 70 75 62 6c 69 73 |taneousl|y publis| |00000690| 68 65 64 20 69 6e 20 74 | 68 65 20 55 6e 69 74 65 |hed in t|he Unite| |000006a0| 64 20 53 74 61 74 65 73 | 20 61 6e 64 20 43 61 6e |d States| and Can| |000006b0| 61 64 61 2e 0d 4d 65 6e | 74 69 6f 6e 20 6f 66 20 |ada..Men|tion of | |000006c0| 74 68 69 72 64 2d 70 61 | 72 74 79 20 70 72 6f 64 |third-pa|rty prod| |000006d0| 75 63 74 73 20 69 73 20 | 66 6f 72 20 69 6e 66 6f |ucts is |for info| |000006e0| 72 6d 61 74 69 6f 6e 61 | 6c 20 70 75 72 70 6f 73 |rmationa|l purpos| |000006f0| 65 73 20 6f 6e 6c 79 20 | 61 6e 64 20 63 6f 6e 73 |es only |and cons| |00000700| 74 69 74 75 74 65 73 20 | 6e 65 69 74 68 65 72 20 |titutes |neither | |00000710| 61 6e 20 65 6e 64 6f 72 | 73 65 6d 65 6e 74 20 6e |an endor|sement n| |00000720| 6f 72 20 61 20 72 65 63 | 6f 6d 6d 65 6e 64 61 74 |or a rec|ommendat| |00000730| 69 6f 6e 2e 20 41 70 70 | 6c 65 20 61 73 73 75 6d |ion. App|le assum| |00000740| 65 73 20 6e 6f 20 72 65 | 73 70 6f 6e 73 69 62 69 |es no re|sponsibi| |00000750| 6c 69 74 79 20 77 69 74 | 68 20 72 65 67 61 72 64 |lity wit|h regard| |00000760| 20 74 6f 20 74 68 65 20 | 70 65 72 66 6f 72 6d 61 | to the |performa| |00000770| 6e 63 65 20 6f 66 20 74 | 68 65 73 65 20 70 72 6f |nce of t|hese pro| |00000780| 64 75 63 74 73 2e 0d 0d | 43 6f 6e 74 65 6e 74 73 |ducts...|Contents| |00000790| 0d 50 72 65 66 61 63 65 | 20 20 2f 20 20 76 0d 09 |.Preface| / v..| |000007a0| 31 09 44 61 74 61 20 43 | 6f 6e 74 61 69 6e 65 72 |1.Data C|ontainer| |000007b0| 73 20 20 2f 20 20 31 0d | 44 61 74 61 20 63 6f 6e |s / 1.|Data con| |000007c0| 74 61 69 6e 65 72 20 73 | 74 72 75 63 74 75 72 65 |tainer s|tructure| |000007d0| 20 20 2f 20 20 33 0d 53 | 74 61 6e 64 61 72 64 20 | / 3.S|tandard | |000007e0| 64 61 74 61 20 63 6f 6e | 74 61 69 6e 65 72 20 74 |data con|tainer t| |000007f0| 79 70 65 73 20 20 2f 20 | 20 34 0d 55 70 64 61 74 |ypes / | 4.Updat| |00000800| 65 20 66 69 6c 65 20 68 | 65 61 64 65 72 20 20 2f |e file h|eader /| |00000810| 20 20 34 0d 4f 74 68 65 | 72 20 64 61 74 61 20 63 | 4.Othe|r data c| |00000820| 6f 6e 74 61 69 6e 65 72 | 20 74 79 70 65 73 20 20 |ontainer| types | |00000830| 2f 20 20 35 0d 41 72 74 | 69 63 6c 65 20 20 2f 20 |/ 5.Art|icle / | |00000840| 20 35 0d 41 72 74 69 63 | 6c 65 20 6c 69 73 74 20 | 5.Artic|le list | |00000850| 68 65 61 64 65 72 20 20 | 2f 20 20 36 0d 46 72 65 |header |/ 6.Fre| |00000860| 65 20 20 2f 20 20 37 0d | 43 6f 6d 70 72 65 73 73 |e / 7.|Compress| |00000870| 65 64 20 20 2f 20 20 38 | 0d 09 32 09 41 72 74 69 |ed / 8|..2.Arti| |00000880| 63 6c 65 73 20 20 2f 20 | 20 39 0d 41 72 74 69 63 |cles / | 9.Artic| |00000890| 6c 65 20 68 65 61 64 65 | 72 20 20 2f 20 20 31 31 |le heade|r / 11| |000008a0| 0d 41 72 74 69 63 6c 65 | 20 74 79 70 65 20 63 6f |.Article| type co| |000008b0| 6e 73 74 61 6e 74 73 20 | 20 2f 20 20 31 32 0d 43 |nstants | / 12.C| |000008c0| 6f 6d 70 6f 75 6e 64 20 | 61 72 74 69 63 6c 65 73 |ompound |articles| |000008d0| 20 20 2f 20 20 31 32 0d | 09 33 09 41 70 70 6c 65 | / 12.|.3.Apple| |000008e0| 53 65 61 72 63 68 20 55 | 74 69 6c 69 74 79 20 52 |Search U|tility R| |000008f0| 6f 75 74 69 6e 65 73 20 | 20 2f 20 20 31 35 0d 46 |outines | / 15.F| |00000900| 69 6c 65 20 75 74 69 6c | 69 74 79 20 72 6f 75 74 |ile util|ity rout| |00000910| 69 6e 65 73 20 20 2f 20 | 20 31 36 0d 42 61 73 69 |ines / | 16.Basi| |00000920| 63 20 74 79 70 65 20 64 | 65 66 69 6e 69 74 69 6f |c type d|efinitio| |00000930| 6e 73 20 20 2f 20 20 31 | 36 0d 55 70 64 61 74 65 |ns / 1|6.Update| |00000940| 20 69 6e 66 6f 20 64 61 | 74 61 20 73 74 72 75 63 | info da|ta struc| |00000950| 74 75 72 65 20 20 2f 20 | 20 31 36 0d 52 6f 75 74 |ture / | 16.Rout| |00000960| 69 6e 65 73 20 20 2f 20 | 20 31 36 0d 43 72 65 61 |ines / | 16.Crea| |00000970| 74 65 20 75 70 64 61 74 | 65 20 66 69 6c 65 20 20 |te updat|e file | |00000980| 2f 20 20 31 37 0d 4f 70 | 65 6e 20 75 70 64 61 74 |/ 17.Op|en updat| |00000990| 65 20 66 69 6c 65 20 20 | 2f 20 20 31 37 0d 43 6c |e file |/ 17.Cl| |000009a0| 6f 73 65 20 75 70 64 61 | 74 65 20 66 69 6c 65 20 |ose upda|te file | |000009b0| 20 2f 20 20 31 38 0d 52 | 65 61 64 20 75 70 64 61 | / 18.R|ead upda| |000009c0| 74 65 20 69 6e 66 6f 20 | 20 2f 20 20 31 38 0d 57 |te info | / 18.W| |000009d0| 72 69 74 65 20 75 70 64 | 61 74 65 20 69 6e 66 6f |rite upd|ate info| |000009e0| 20 20 2f 20 31 39 0d 43 | 6f 6d 70 61 63 74 20 75 | / 19.C|ompact u| |000009f0| 70 64 61 74 65 20 66 69 | 6c 65 20 20 2f 20 20 31 |pdate fi|le / 1| |00000a00| 39 0d 41 72 74 69 63 6c | 65 20 72 6f 75 74 69 6e |9.Articl|e routin| |00000a10| 65 73 20 20 2f 20 20 32 | 30 0d 41 72 74 69 63 6c |es / 2|0.Articl| |00000a20| 65 d5 73 20 64 61 74 65 | 2f 74 69 6d 65 20 64 61 |e.s date|/time da| |00000a30| 74 61 20 73 74 72 75 63 | 74 75 72 65 20 20 2f 20 |ta struc|ture / | |00000a40| 20 32 30 0d 41 72 74 69 | 63 6c 65 20 68 65 61 64 | 20.Arti|cle head| |00000a50| 65 72 20 64 61 74 61 20 | 73 74 72 75 63 74 75 72 |er data |structur| |00000a60| 65 20 20 2f 20 20 32 30 | 0d 52 6f 75 74 69 6e 65 |e / 20|.Routine| |00000a70| 73 20 20 2f 20 20 32 30 | 0d 43 6f 75 6e 74 20 61 |s / 20|.Count a| |00000a80| 72 74 69 63 6c 65 73 20 | 20 2f 20 20 32 31 0d 46 |rticles | / 21.F| |00000a90| 69 6e 64 20 61 72 74 69 | 63 6c 65 20 20 2f 20 20 |ind arti|cle / | |00000aa0| 32 31 0d 52 65 61 64 20 | 61 72 74 69 63 6c 65 20 |21.Read |article | |00000ab0| 68 65 61 64 65 72 20 20 | 2f 20 20 32 32 0d 52 65 |header |/ 22.Re| |00000ac0| 61 64 20 61 72 74 69 63 | 6c 65 20 64 61 74 61 20 |ad artic|le data | |00000ad0| 20 2f 20 20 32 33 0d 52 | 65 61 64 20 70 61 72 74 | / 23.R|ead part| |00000ae0| 69 61 6c 20 61 72 74 69 | 63 6c 65 20 64 61 74 61 |ial arti|cle data| |00000af0| 20 20 2f 20 32 33 0d 57 | 72 69 74 65 20 61 72 74 | / 23.W|rite art| |00000b00| 69 63 6c 65 20 68 65 61 | 64 65 72 20 20 2f 20 20 |icle hea|der / | |00000b10| 32 34 0d 57 72 69 74 65 | 20 61 72 74 69 63 6c 65 |24.Write| article| |00000b20| 20 64 61 74 61 20 20 2f | 20 20 32 34 0d 41 64 64 | data /| 24.Add| |00000b30| 20 61 72 74 69 63 6c 65 | 20 20 2f 20 20 32 35 0d | article| / 25.| |00000b40| 44 65 6c 65 74 65 20 61 | 72 74 69 63 6c 65 20 20 |Delete a|rticle | |00000b50| 2f 20 20 32 36 0d 47 65 | 74 20 61 72 74 69 63 6c |/ 26.Ge|t articl| |00000b60| 65 20 73 69 7a 65 20 20 | 2f 20 20 32 36 0d 47 65 |e size |/ 26.Ge| |00000b70| 74 20 61 72 74 69 63 6c | 65 20 74 79 70 65 20 20 |t articl|e type | |00000b80| 2f 20 20 32 36 0d 47 65 | 74 20 61 72 74 69 63 6c |/ 26.Ge|t articl| |00000b90| 65 20 75 73 65 72 20 62 | 79 74 65 73 20 20 2f 20 |e user b|ytes / | |00000ba0| 20 32 37 0d 44 69 73 70 | 6f 73 65 20 61 72 74 69 | 27.Disp|ose arti| |00000bb0| 63 6c 65 20 68 65 61 64 | 65 72 20 20 2f 20 20 32 |cle head|er / 2| |00000bc0| 37 0d 44 61 74 61 20 63 | 6f 6e 74 61 69 6e 65 72 |7.Data c|ontainer| |00000bd0| 20 72 6f 75 74 69 6e 65 | 73 20 20 2f 20 20 32 38 | routine|s / 28| |00000be0| 0d 44 61 74 61 20 63 6f | 6e 74 61 69 6e 65 72 20 |.Data co|ntainer | |00000bf0| 69 6e 66 6f 20 64 61 74 | 61 20 73 74 72 75 63 74 |info dat|a struct| |00000c00| 75 72 65 20 20 2f 20 20 | 32 38 0d 52 6f 75 74 69 |ure / |28.Routi| |00000c10| 6e 65 73 20 20 2f 20 20 | 32 38 0d 41 64 64 20 64 |nes / |28.Add d| |00000c20| 61 74 61 20 63 6f 6e 74 | 61 69 6e 65 72 20 20 2f |ata cont|ainer /| |00000c30| 20 20 32 39 0d 44 65 6c | 65 74 65 20 64 61 74 61 | 29.Del|ete data| |00000c40| 20 63 6f 6e 74 61 69 6e | 65 72 20 20 2f 20 20 32 | contain|er / 2| |00000c50| 39 0d 52 65 61 64 20 64 | 61 74 61 20 63 6f 6e 74 |9.Read d|ata cont| |00000c60| 61 69 6e 65 72 20 68 65 | 61 64 65 72 20 20 2f 20 |ainer he|ader / | |00000c70| 20 33 30 0d 57 72 69 74 | 65 20 64 61 74 61 20 63 | 30.Writ|e data c| |00000c80| 6f 6e 74 61 69 6e 65 72 | 20 68 65 61 64 65 72 20 |ontainer| header | |00000c90| 20 2f 20 20 33 30 0d 52 | 65 61 64 20 64 61 74 61 | / 30.R|ead data| |00000ca0| 20 63 6f 6e 74 61 69 6e | 65 72 20 64 61 74 61 20 | contain|er data | |00000cb0| 20 2f 20 20 33 31 0d 57 | 72 69 74 65 20 64 61 74 | / 31.W|rite dat| |00000cc0| 61 20 63 6f 6e 74 61 69 | 6e 65 72 20 64 61 74 61 |a contai|ner data| |00000cd0| 20 20 2f 20 20 33 31 0d | 43 6f 75 6e 74 20 64 61 | / 31.|Count da| |00000ce0| 74 61 20 63 6f 6e 74 61 | 69 6e 65 72 73 20 20 2f |ta conta|iners /| |00000cf0| 20 33 32 0d 46 69 6e 64 | 20 64 61 74 61 20 63 6f | 32.Find| data co| |00000d00| 6e 74 61 69 6e 65 72 20 | 20 2f 20 20 33 32 0d 47 |ntainer | / 32.G| |00000d10| 65 74 20 64 61 74 61 20 | 63 6f 6e 74 61 69 6e 65 |et data |containe| |00000d20| 72 20 73 69 7a 65 20 20 | 2f 20 33 33 0d 47 65 74 |r size |/ 33.Get| |00000d30| 20 64 61 74 61 20 63 6f | 6e 74 61 69 6e 65 72 20 | data co|ntainer | |00000d40| 74 79 70 65 20 20 2f 20 | 33 33 0d 47 65 74 20 64 |type / |33.Get d| |00000d50| 61 74 61 20 63 6f 6e 74 | 61 69 6e 65 72 20 49 44 |ata cont|ainer ID| |00000d60| 20 20 2f 20 33 33 0d 47 | 65 74 20 64 61 74 61 20 | / 33.G|et data | |00000d70| 63 6f 6e 74 61 69 6e 65 | 72 20 55 73 65 72 52 65 |containe|r UserRe| |00000d80| 66 43 6f 6e 20 20 2f 20 | 33 34 0d 50 72 65 66 61 |fCon / |34.Prefa| |00000d90| 63 65 0d 41 70 70 6c 65 | 53 65 61 72 63 68 20 61 |ce.Apple|Search a| |00000da0| 6c 6c 6f 77 73 20 4d 61 | 63 69 6e 74 6f 73 68 20 |llows Ma|cintosh | |00000db0| 75 73 65 72 73 20 74 6f | 20 61 63 63 65 73 73 20 |users to| access | |00000dc0| 69 6e 66 6f 72 6d 61 74 | 69 6f 6e 20 6f 6e 20 61 |informat|ion on a| |00000dd0| 20 73 65 72 76 65 72 20 | 62 79 20 70 72 6f 76 69 | server |by provi| |00000de0| 64 69 6e 67 20 66 75 6c | 6c 20 74 65 78 74 20 73 |ding ful|l text s| |00000df0| 65 61 72 63 68 20 61 6e | 64 20 72 65 74 72 69 65 |earch an|d retrie| |00000e00| 76 61 6c 2e 20 53 65 61 | 72 63 68 20 61 67 65 6e |val. Sea|rch agen| |00000e10| 74 73 d1 63 61 6c 6c 65 | 64 20 52 65 70 6f 72 74 |ts.calle|d Report| |00000e20| 65 72 73 d1 73 65 61 72 | 63 68 20 69 6e 66 6f 72 |ers.sear|ch infor| |00000e30| 6d 61 74 69 6f 6e 20 73 | 6f 75 72 63 65 73 20 6f |mation s|ources o| |00000e40| 6e 20 74 68 65 20 41 70 | 70 6c 65 53 65 61 72 63 |n the Ap|pleSearc| |00000e50| 68 20 73 65 72 76 65 72 | 2e 20 54 68 65 20 72 65 |h server|. The re| |00000e60| 73 75 6c 74 73 20 6f 66 | 20 74 68 65 20 73 65 61 |sults of| the sea| |00000e70| 72 63 68 20 63 61 6e 20 | 62 65 20 64 69 73 70 6c |rch can |be displ| |00000e80| 61 79 65 64 20 69 6e 20 | 61 20 6e 65 77 73 70 61 |ayed in |a newspa| |00000e90| 70 65 72 2d 6c 69 6b 65 | 20 d2 75 70 64 61 74 65 |per-like| .update| |00000ea0| 2c d3 20 63 72 65 61 74 | 65 64 20 61 75 74 6f 6d |,. creat|ed autom| |00000eb0| 61 74 69 63 61 6c 6c 79 | 2c 20 6f 6e 20 61 20 72 |atically|, on a r| |00000ec0| 65 67 75 6c 61 72 20 62 | 61 73 69 73 2e 20 54 68 |egular b|asis. Th| |00000ed0| 69 73 20 75 70 64 61 74 | 65 20 63 61 6e 20 62 65 |is updat|e can be| |00000ee0| 20 64 69 73 70 6c 61 79 | 65 64 20 69 6d 6d 65 64 | display|ed immed| |00000ef0| 69 61 74 65 6c 79 20 6f | 72 20 64 65 6c 69 76 65 |iately o|r delive| |00000f00| 72 65 64 20 74 6f 20 61 | 20 73 70 65 63 69 66 69 |red to a| specifi| |00000f10| 65 64 20 66 6f 6c 64 65 | 72 20 6f 6e 20 61 20 68 |ed folde|r on a h| |00000f20| 61 72 64 20 64 69 73 6b | 2e 0d 46 6f 72 20 64 65 |ard disk|..For de| |00000f30| 76 65 6c 6f 70 65 72 73 | 20 77 68 6f 20 77 61 6e |velopers| who wan| |00000f40| 74 20 74 6f 20 63 75 73 | 74 6f 6d 69 7a 65 20 41 |t to cus|tomize A| |00000f50| 70 70 6c 65 53 65 61 72 | 63 68 20 66 6f 72 20 61 |ppleSear|ch for a| |00000f60| 20 73 70 65 63 69 66 69 | 63 20 70 75 72 70 6f 73 | specifi|c purpos| |00000f70| 65 20 6f 72 20 73 69 6d | 70 6c 79 20 74 6f 20 75 |e or sim|ply to u| |00000f80| 6e 64 65 72 73 74 61 6e | 64 20 68 6f 77 20 41 70 |nderstan|d how Ap| |00000f90| 70 6c 65 53 65 61 72 63 | 68 20 77 6f 72 6b 73 2c |pleSearc|h works,| |00000fa0| 20 74 68 69 73 20 64 6f | 63 75 6d 65 6e 74 20 64 | this do|cument d| |00000fb0| 65 73 63 72 69 62 65 73 | 20 74 68 65 20 75 70 64 |escribes| the upd| |00000fc0| 61 74 65 20 66 69 6c 65 | 20 66 6f 72 6d 61 74 2c |ate file| format,| |00000fd0| 20 64 65 66 69 6e 69 74 | 69 6f 6e 73 20 6f 66 20 | definit|ions of | |00000fe0| 73 74 61 6e 64 61 72 64 | 20 75 70 64 61 74 65 20 |standard| update | |00000ff0| 63 6f 6d 70 6f 6e 65 6e | 74 73 2c 20 61 6e 64 20 |componen|ts, and | |00001000| 74 68 65 20 61 63 63 6f | 6d 70 61 6e 79 69 6e 67 |the acco|mpanying| |00001010| 20 75 74 69 6c 69 74 79 | 20 72 6f 75 74 69 6e 65 | utility| routine| |00001020| 73 20 74 68 61 74 20 63 | 61 6e 20 62 65 20 75 73 |s that c|an be us| |00001030| 65 64 20 74 6f 20 6d 61 | 6e 69 70 75 6c 61 74 65 |ed to ma|nipulate| |00001040| 20 75 70 64 61 74 65 20 | 64 6f 63 75 6d 65 6e 74 | update |document| |00001050| 73 2e 20 41 6c 6c 20 74 | 68 65 20 72 6f 75 74 69 |s. All t|he routi| |00001060| 6e 65 73 20 61 72 65 20 | 77 72 69 74 74 65 6e 20 |nes are |written | |00001070| 69 6e 20 4d 50 57 20 43 | 2c 20 76 65 72 73 69 6f |in MPW C|, versio| |00001080| 6e 20 33 2e 32 2e 0d 42 | 65 66 6f 72 65 20 75 73 |n 3.2..B|efore us| |00001090| 69 6e 67 20 74 68 69 73 | 20 6d 61 6e 75 61 6c 2c |ing this| manual,| |000010a0| 20 79 6f 75 20 77 69 6c | 6c 20 62 65 20 62 65 74 | you wil|l be bet| |000010b0| 74 65 72 20 70 72 65 70 | 61 72 65 64 20 69 66 20 |ter prep|ared if | |000010c0| 79 6f 75 20 61 72 65 20 | 66 61 6d 69 6c 69 61 72 |you are |familiar| |000010d0| 20 77 69 74 68 20 41 70 | 70 6c 65 53 65 61 72 63 | with Ap|pleSearc| |000010e0| 68 20 61 6e 64 20 68 61 | 76 65 20 72 65 61 64 20 |h and ha|ve read | |000010f0| 74 68 65 20 66 6f 6c 6c | 6f 77 69 6e 67 20 6d 61 |the foll|owing ma| |00001100| 6e 75 61 6c 73 3a 0d 6e | 09 41 70 70 6c 65 53 65 |nuals:.n|.AppleSe| |00001110| 61 72 63 68 20 55 73 65 | 72 d5 73 20 47 75 69 64 |arch Use|r.s Guid| |00001120| 65 0d 6e 09 41 70 70 6c | 65 53 65 61 72 63 68 20 |e.n.Appl|eSearch | |00001130| 53 79 73 74 65 6d 20 41 | 64 6d 69 6e 69 73 74 72 |System A|dministr| |00001140| 61 74 6f 72 d5 73 20 47 | 75 69 64 65 0d 6e 09 41 |ator.s G|uide.n.A| |00001150| 70 70 6c 65 53 65 61 72 | 63 68 20 43 6c 69 65 6e |ppleSear|ch Clien| |00001160| 74 20 44 65 76 65 6c 6f | 70 65 72 d5 73 20 47 75 |t Develo|per.s Gu| |00001170| 69 64 65 0d 4b 65 79 20 | 64 65 66 69 6e 69 74 69 |ide.Key |definiti| |00001180| 6f 6e 73 0d 41 72 74 69 | 63 6c 65 20 20 41 6e 20 |ons.Arti|cle An | |00001190| 61 72 74 69 63 6c 65 20 | 63 6f 6e 74 61 69 6e 73 |article |contains| |000011a0| 20 61 20 74 69 74 6c 65 | 2c 20 61 20 64 61 74 65 | a title|, a date| |000011b0| 2c 20 61 20 73 6f 75 72 | 63 65 20 77 68 65 72 65 |, a sour|ce where| |000011c0| 20 74 68 65 20 61 72 74 | 69 63 6c 65 20 63 61 6d | the art|icle cam| |000011d0| 65 20 66 72 6f 6d 2c 20 | 61 6e 64 20 74 68 65 20 |e from, |and the | |000011e0| 64 61 74 61 20 69 74 73 | 65 6c 66 2e 20 54 68 65 |data its|elf. The| |000011f0| 20 64 61 74 61 20 6d 61 | 79 20 62 65 20 74 65 78 | data ma|y be tex| |00001200| 74 2c 20 61 20 50 49 43 | 54 2c 20 61 20 51 75 69 |t, a PIC|T, a Qui| |00001210| 63 6b 54 69 6d 65 20 6d | 6f 76 69 65 2c 20 61 6e |ckTime m|ovie, an| |00001220| 79 20 6f 74 68 65 72 20 | 64 61 74 61 20 74 79 70 |y other |data typ| |00001230| 65 73 2c 20 6f 72 20 61 | 20 63 6f 6d 62 69 6e 61 |es, or a| combina| |00001240| 74 69 6f 6e 20 6f 66 20 | 64 61 74 61 20 74 79 70 |tion of |data typ| |00001250| 65 73 2e 20 46 72 6f 6d | 20 61 6e 20 61 70 70 6c |es. From| an appl| |00001260| 69 63 61 74 69 6f 6e 20 | 70 6f 69 6e 74 20 6f 66 |ication |point of| |00001270| 20 76 69 65 77 2c 20 61 | 6e 20 75 70 64 61 74 65 | view, a|n update| |00001280| 20 69 73 20 61 20 63 6f | 6c 6c 65 63 74 69 6f 6e | is a co|llection| |00001290| 20 6f 66 20 61 72 74 69 | 63 6c 65 73 2e 20 0d 43 | of arti|cles. .C| |000012a0| 6f 6d 70 6f 75 6e 64 20 | 61 72 74 69 63 6c 65 20 |ompound |article | |000012b0| 20 41 6e 20 61 72 74 69 | 63 6c 65 20 74 68 61 74 | An arti|cle that| |000012c0| 20 63 6f 6e 74 61 69 6e | 73 20 74 77 6f 20 6f 72 | contain|s two or| |000012d0| 20 6d 6f 72 65 20 73 75 | 62 61 72 74 69 63 6c 65 | more su|barticle| |000012e0| 73 2e 20 54 68 65 20 73 | 75 62 61 72 74 69 63 6c |s. The s|ubarticl| |000012f0| 65 73 20 63 61 6e 20 62 | 65 20 6f 66 20 74 68 65 |es can b|e of the| |00001300| 20 73 61 6d 65 20 6f 72 | 20 64 69 66 66 65 72 65 | same or| differe| |00001310| 6e 74 20 64 61 74 61 20 | 74 79 70 65 73 2e 20 46 |nt data |types. F| |00001320| 6f 72 20 65 78 61 6d 70 | 6c 65 2c 20 61 20 63 6f |or examp|le, a co| |00001330| 6d 70 6f 75 6e 64 20 61 | 72 74 69 63 6c 65 20 6d |mpound a|rticle m| |00001340| 69 67 68 74 20 63 6f 6e | 74 61 69 6e 20 74 77 6f |ight con|tain two| |00001350| 20 73 65 70 61 72 61 74 | 65 20 69 6d 61 67 65 73 | separat|e images| |00001360| 20 6f 66 20 74 79 70 65 | 20 50 49 43 54 2e 20 41 | of type| PICT. A| |00001370| 6e 6f 74 68 65 72 20 6f | 6e 65 20 6d 69 67 68 74 |nother o|ne might| |00001380| 20 62 65 20 63 6f 6d 70 | 6f 73 65 64 20 6f 66 20 | be comp|osed of | |00001390| 74 65 78 74 2c 20 61 6e | 20 69 6d 61 67 65 20 6f |text, an| image o| |000013a0| 66 20 74 79 70 65 20 27 | 54 49 46 46 27 2c 20 61 |f type '|TIFF', a| |000013b0| 6e 64 20 61 20 73 6f 75 | 6e 64 2e 0d 44 61 74 61 |nd a sou|nd..Data| |000013c0| 20 63 6f 6e 74 61 69 6e | 65 72 20 20 41 20 62 75 | contain|er A bu| |000013d0| 69 6c 64 69 6e 67 20 62 | 6c 6f 63 6b 20 6f 66 20 |ilding b|lock of | |000013e0| 61 6e 20 41 70 70 6c 65 | 53 65 61 72 63 68 20 75 |an Apple|Search u| |000013f0| 70 64 61 74 65 20 64 6f | 63 75 6d 65 6e 74 2e 20 |pdate do|cument. | |00001400| 41 6c 6c 20 74 68 65 20 | 64 61 74 61 20 69 6e 20 |All the |data in | |00001410| 61 20 64 6f 63 75 6d 65 | 6e 74 20 61 72 65 20 6f |a docume|nt are o| |00001420| 72 67 61 6e 69 7a 65 64 | 20 69 6e 74 6f 20 61 20 |rganized| into a | |00001430| 73 65 74 20 6f 66 20 64 | 61 74 61 20 63 6f 6e 74 |set of d|ata cont| |00001440| 61 69 6e 65 72 73 2e 20 | 54 79 70 69 63 61 6c 6c |ainers. |Typicall| |00001450| 79 2c 20 6f 6e 65 20 64 | 6f 63 75 6d 65 6e 74 20 |y, one d|ocument | |00001460| 63 6f 6e 74 61 69 6e 73 | 20 61 20 6e 75 6d 62 65 |contains| a numbe| |00001470| 72 20 6f 66 20 64 61 74 | 61 20 63 6f 6e 74 61 69 |r of dat|a contai| |00001480| 6e 65 72 73 20 6f 66 20 | 64 69 66 66 65 72 65 6e |ners of |differen| |00001490| 74 20 74 79 70 65 73 2e | 20 0d 53 75 62 61 72 74 |t types.| .Subart| |000014a0| 69 63 6c 65 20 20 20 41 | 20 73 75 62 61 72 74 69 |icle A| subarti| |000014b0| 63 6c 65 20 69 73 20 61 | 6e 20 65 6c 65 6d 65 6e |cle is a|n elemen| |000014c0| 74 20 77 69 74 68 69 6e | 20 61 20 63 6f 6d 70 6f |t within| a compo| |000014d0| 75 6e 64 20 61 72 74 69 | 63 6c 65 2e 20 49 74 73 |und arti|cle. Its| |000014e0| 20 64 61 74 61 20 73 74 | 72 75 63 74 75 72 65 20 | data st|ructure | |000014f0| 69 6e 63 6c 75 64 65 73 | 20 69 74 73 20 73 69 7a |includes| its siz| |00001500| 65 2c 20 61 20 74 79 70 | 65 2c 20 61 6e 64 20 74 |e, a typ|e, and t| |00001510| 68 65 20 64 61 74 61 20 | 69 74 73 65 6c 66 2e 0d |he data |itself..| |00001520| 53 6f 66 74 77 61 72 65 | 20 6c 69 63 65 6e 73 69 |Software| licensi| |00001530| 6e 67 0d 46 6f 72 20 69 | 6e 66 6f 72 6d 61 74 69 |ng.For i|nformati| |00001540| 6f 6e 20 6f 6e 20 64 65 | 76 65 6c 6f 70 65 72 20 |on on de|veloper | |00001550| 6c 69 63 65 6e 73 69 6e | 67 2c 20 70 6c 65 61 73 |licensin|g, pleas| |00001560| 65 20 63 6f 6e 74 61 63 | 74 0d 53 6f 66 74 77 61 |e contac|t.Softwa| |00001570| 72 65 20 4c 69 63 65 6e | 73 69 6e 67 20 44 65 70 |re Licen|sing Dep| |00001580| 61 72 74 6d 65 6e 74 0d | 41 70 70 6c 65 20 43 6f |artment.|Apple Co| |00001590| 6d 70 75 74 65 72 2c 20 | 49 6e 63 2e 0d 32 30 35 |mputer, |Inc..205| |000015a0| 32 35 20 4d 61 72 69 61 | 6e 69 20 41 76 65 6e 75 |25 Maria|ni Avenu| |000015b0| 65 2c 20 4d 2f 53 20 33 | 38 2d 31 0d 43 75 70 65 |e, M/S 3|8-1.Cupe| |000015c0| 72 74 69 6e 6f 2c 20 43 | 61 6c 69 66 6f 72 6e 69 |rtino, C|aliforni| |000015d0| 61 20 39 35 30 31 34 0d | 55 2e 53 2e 41 2e 0d 54 |a 95014.|U.S.A..T| |000015e0| 65 6c 65 70 68 6f 6e 65 | 3a 20 28 34 30 38 29 20 |elephone|: (408) | |000015f0| 39 37 34 2d 34 36 36 37 | 0d 41 70 70 6c 65 4c 69 |974-4667|.AppleLi| |00001600| 6e 6b 3a 20 53 57 2e 4c | 49 43 45 4e 53 45 0d 31 |nk: SW.L|ICENSE.1| |00001610| 09 44 61 74 61 20 43 6f | 6e 74 61 69 6e 65 72 73 |.Data Co|ntainers| |00001620| 0d 41 6e 20 41 70 70 6c | 65 53 65 61 72 63 68 20 |.An Appl|eSearch | |00001630| 75 70 64 61 74 65 20 66 | 69 6c 65 20 69 73 20 63 |update f|ile is c| |00001640| 6f 6d 70 6f 73 65 64 20 | 6f 66 20 64 61 74 61 20 |omposed |of data | |00001650| 63 6f 6e 74 61 69 6e 65 | 72 73 2e 20 41 20 64 61 |containe|rs. A da| |00001660| 74 61 20 63 6f 6e 74 61 | 69 6e 65 72 20 69 73 20 |ta conta|iner is | |00001670| 61 20 72 65 70 6f 73 69 | 74 6f 72 79 20 66 6f 72 |a reposi|tory for| |00001680| 20 69 6e 66 6f 72 6d 61 | 74 69 6f 6e 2e 20 41 20 | informa|tion. A | |00001690| 73 69 6e 67 6c 65 20 64 | 61 74 61 20 63 6f 6e 74 |single d|ata cont| |000016a0| 61 69 6e 65 72 20 63 61 | 6e 20 62 65 20 6f 66 20 |ainer ca|n be of | |000016b0| 61 6e 79 20 73 69 7a 65 | 20 75 70 20 74 6f 20 34 |any size| up to 4| |000016c0| 20 67 69 67 61 62 79 74 | 65 73 20 28 69 66 20 74 | gigabyt|es (if t| |000016d0| 68 65 20 6f 70 65 72 61 | 74 69 6e 67 20 73 79 73 |he opera|ting sys| |000016e0| 74 65 6d 20 61 6c 6c 6f | 77 73 20 66 69 6c 65 73 |tem allo|ws files| |000016f0| 20 74 68 61 74 20 6c 61 | 72 67 65 29 20 61 6e 64 | that la|rge) and| |00001700| 20 63 61 6e 20 63 6f 6e | 74 61 69 6e 20 61 6e 79 | can con|tain any| |00001710| 20 74 79 70 65 20 6f 66 | 20 69 6e 66 6f 72 6d 61 | type of| informa| |00001720| 74 69 6f 6e 2e 20 46 6f | 72 20 65 78 61 6d 70 6c |tion. Fo|r exampl| |00001730| 65 2c 20 69 74 20 63 61 | 6e 20 63 6f 6e 74 61 69 |e, it ca|n contai| |00001740| 6e 20 69 6e 66 6f 72 6d | 61 74 69 6f 6e 20 66 6f |n inform|ation fo| |00001750| 72 20 61 20 74 65 78 74 | 20 61 72 74 69 63 6c 65 |r a text| article| |00001760| 2c 20 74 68 65 20 73 6f | 72 74 69 6e 67 20 73 74 |, the so|rting st| |00001770| 61 74 65 20 6f 66 20 74 | 68 65 20 75 70 64 61 74 |ate of t|he updat| |00001780| 65 2c 20 6f 72 20 6c 61 | 79 6f 75 74 20 69 6e 66 |e, or la|yout inf| |00001790| 6f 72 6d 61 74 69 6f 6e | 20 66 6f 72 20 74 68 65 |ormation| for the| |000017a0| 20 75 70 64 61 74 65 2e | 0d 54 68 65 20 64 61 74 | update.|.The dat| |000017b0| 61 20 63 6f 6e 74 61 69 | 6e 65 72 20 74 79 70 65 |a contai|ner type| |000017c0| 20 69 6e 64 69 63 61 74 | 65 73 20 74 68 65 20 6b | indicat|es the k| |000017d0| 69 6e 64 20 6f 66 20 64 | 61 74 61 20 74 68 61 74 |ind of d|ata that| |000017e0| 20 61 20 64 61 74 61 20 | 63 6f 6e 74 61 69 6e 65 | a data |containe| |000017f0| 72 20 68 6f 6c 64 73 2e | 20 53 74 61 6e 64 61 72 |r holds.| Standar| |00001800| 64 20 64 61 74 61 20 63 | 6f 6e 74 61 69 6e 65 72 |d data c|ontainer| |00001810| 20 74 79 70 65 73 20 61 | 72 65 20 64 65 66 69 6e | types a|re defin| |00001820| 65 64 20 62 79 20 41 70 | 70 6c 65 20 61 6e 64 20 |ed by Ap|ple and | |00001830| 64 65 73 63 72 69 62 65 | 64 20 69 6e 20 74 68 69 |describe|d in thi| |00001840| 73 20 64 6f 63 75 6d 65 | 6e 74 2e 0d 41 20 66 69 |s docume|nt..A fi| |00001850| 6c 65 20 68 65 61 64 65 | 72 20 69 73 20 61 20 73 |le heade|r is a s| |00001860| 70 65 63 69 61 6c 69 7a | 65 64 20 64 61 74 61 20 |pecializ|ed data | |00001870| 63 6f 6e 74 61 69 6e 65 | 72 20 74 68 61 74 20 63 |containe|r that c| |00001880| 6f 6e 74 61 69 6e 73 20 | 67 65 6e 65 72 61 6c 20 |ontains |general | |00001890| 69 6e 66 6f 72 6d 61 74 | 69 6f 6e 20 61 62 6f 75 |informat|ion abou| |000018a0| 74 20 74 68 65 20 75 70 | 64 61 74 65 20 66 69 6c |t the up|date fil| |000018b0| 65 2e 0d 45 61 63 68 20 | 75 70 64 61 74 65 20 66 |e..Each |update f| |000018c0| 69 6c 65 20 63 6f 6e 73 | 69 73 74 73 20 6f 66 20 |ile cons|ists of | |000018d0| 61 20 66 69 6c 65 20 68 | 65 61 64 65 72 20 66 6f |a file h|eader fo| |000018e0| 6c 6c 6f 77 65 64 20 62 | 79 20 7a 65 72 6f 20 6f |llowed b|y zero o| |000018f0| 72 20 6d 6f 72 65 20 64 | 61 74 61 20 63 6f 6e 74 |r more d|ata cont| |00001900| 61 69 6e 65 72 73 20 61 | 73 20 69 6c 6c 75 73 74 |ainers a|s illust| |00001910| 72 61 74 65 64 2e 0d 42 | 65 63 61 75 73 65 20 61 |rated..B|ecause a| |00001920| 6e 20 41 70 70 6c 65 53 | 65 61 72 63 68 20 75 70 |n AppleS|earch up| |00001930| 64 61 74 65 20 66 69 6c | 65 20 69 73 20 6d 61 64 |date fil|e is mad| |00001940| 65 20 75 70 20 6f 66 20 | 6d 6f 64 75 6c 61 72 20 |e up of |modular | |00001950| 64 61 74 61 20 63 6f 6e | 74 61 69 6e 65 72 73 2c |data con|tainers,| |00001960| 20 61 6e 20 61 70 70 6c | 69 63 61 74 69 6f 6e 20 | an appl|ication | |00001970| 69 73 20 61 62 6c 65 20 | 74 6f 20 72 65 61 64 20 |is able |to read | |00001980| 6f 6e 6c 79 20 74 68 65 | 20 64 61 74 61 20 69 74 |only the| data it| |00001990| 20 72 65 71 75 69 72 65 | 73 20 6f 72 20 69 73 20 | require|s or is | |000019a0| 63 61 70 61 62 6c 65 20 | 6f 66 20 72 65 61 64 69 |capable |of readi| |000019b0| 6e 67 2e 20 41 74 20 74 | 68 65 20 73 61 6d 65 20 |ng. At t|he same | |000019c0| 74 69 6d 65 2c 20 74 68 | 65 20 64 61 74 61 20 74 |time, th|e data t| |000019d0| 79 70 65 73 20 63 61 6e | 20 62 65 20 65 78 74 65 |ypes can| be exte| |000019e0| 6e 64 65 64 2e 20 54 68 | 69 73 20 69 73 20 73 69 |nded. Th|is is si| |000019f0| 6d 69 6c 61 72 20 74 6f | 20 74 68 65 20 77 61 79 |milar to| the way| |00001a00| 20 69 6e 20 77 68 69 63 | 68 20 74 68 65 20 41 70 | in whic|h the Ap| |00001a10| 70 6c 65 20 45 76 65 6e | 74 20 4d 61 6e 61 67 65 |ple Even|t Manage| |00001a20| 72 20 75 73 65 73 20 64 | 65 73 63 72 69 70 74 6f |r uses d|escripto| |00001a30| 72 73 20 74 6f 20 6d 61 | 6b 65 20 75 70 20 61 6e |rs to ma|ke up an| |00001a40| 20 41 70 70 6c 65 20 65 | 76 65 6e 74 2e 0d 44 61 | Apple e|vent..Da| |00001a50| 74 61 20 63 6f 6e 74 61 | 69 6e 65 72 20 73 74 72 |ta conta|iner str| |00001a60| 75 63 74 75 72 65 0d 54 | 68 65 20 67 65 6e 65 72 |ucture.T|he gener| |00001a70| 61 6c 20 73 74 72 75 63 | 74 75 72 65 20 66 6f 72 |al struc|ture for| |00001a80| 20 65 61 63 68 20 64 61 | 74 61 20 63 6f 6e 74 61 | each da|ta conta| |00001a90| 69 6e 65 72 20 69 73 20 | 61 20 31 36 2d 62 79 74 |iner is |a 16-byt| |00001aa0| 65 20 68 65 61 64 65 72 | 20 77 69 74 68 20 69 6e |e header| with in| |00001ab0| 66 6f 72 6d 61 74 69 6f | 6e 20 61 62 6f 75 74 20 |formatio|n about | |00001ac0| 74 68 61 74 20 70 61 72 | 74 69 63 75 6c 61 72 20 |that par|ticular | |00001ad0| 64 61 74 61 20 63 6f 6e | 74 61 69 6e 65 72 2c 20 |data con|tainer, | |00001ae0| 66 6f 6c 6c 6f 77 65 64 | 20 62 79 20 74 68 65 20 |followed| by the | |00001af0| 61 63 74 75 61 6c 20 64 | 61 74 61 2e 0d 54 68 65 |actual d|ata..The| |00001b00| 20 66 6f 6c 6c 6f 77 69 | 6e 67 20 73 65 63 74 69 | followi|ng secti| |00001b10| 6f 6e 2c 20 d2 53 74 61 | 6e 64 61 72 64 20 44 61 |on, .Sta|ndard Da| |00001b20| 74 61 20 43 6f 6e 74 61 | 69 6e 65 72 20 54 79 70 |ta Conta|iner Typ| |00001b30| 65 73 2c d3 20 64 65 73 | 63 72 69 62 65 73 20 74 |es,. des|cribes t| |00001b40| 68 65 20 73 65 74 20 6f | 66 20 70 72 65 64 65 66 |he set o|f predef| |00001b50| 69 6e 65 64 20 64 61 74 | 61 20 74 79 70 65 73 2e |ined dat|a types.| |00001b60| 20 4f 74 68 65 72 20 64 | 61 74 61 20 74 79 70 65 | Other d|ata type| |00001b70| 73 20 63 61 6e 20 62 65 | 20 63 72 65 61 74 65 64 |s can be| created| |00001b80| 20 61 73 20 6e 65 65 64 | 65 64 20 66 6f 6c 6c 6f | as need|ed follo| |00001b90| 77 69 6e 67 20 74 68 65 | 20 73 74 72 75 63 74 75 |wing the| structu| |00001ba0| 72 65 20 64 65 66 69 6e | 65 64 20 69 6e 20 74 68 |re defin|ed in th| |00001bb0| 69 73 20 73 65 63 74 69 | 6f 6e 2e 0d 54 68 65 20 |is secti|on..The | |00001bc0| d2 46 69 6c 65 20 55 74 | 69 6c 69 74 79 20 52 6f |.File Ut|ility Ro| |00001bd0| 75 74 69 6e 65 73 d3 20 | 73 65 63 74 69 6f 6e 20 |utines. |section | |00001be0| 69 6e 20 43 68 61 70 74 | 65 72 20 33 2c 20 d2 41 |in Chapt|er 3, .A| |00001bf0| 70 70 6c 65 53 65 61 72 | 63 68 20 55 74 69 6c 69 |ppleSear|ch Utili| |00001c00| 74 79 20 52 6f 75 74 69 | 6e 65 73 2c d3 20 64 65 |ty Routi|nes,. de| |00001c10| 73 63 72 69 62 65 73 20 | 61 20 73 65 74 20 6f 66 |scribes |a set of| |00001c20| 20 72 6f 75 74 69 6e 65 | 73 20 74 68 61 74 20 77 | routine|s that w| |00001c30| 69 6c 6c 20 68 65 6c 70 | 20 79 6f 75 20 65 78 61 |ill help| you exa| |00001c40| 6d 69 6e 65 2c 20 72 65 | 61 64 2c 20 0d 61 6e 64 |mine, re|ad, .and| |00001c50| 20 77 72 69 74 65 20 64 | 61 74 61 20 63 6f 6e 74 | write d|ata cont| |00001c60| 61 69 6e 65 72 73 20 65 | 61 73 69 6c 79 2c 20 77 |ainers e|asily, w| |00001c70| 69 74 68 6f 75 74 20 68 | 61 76 69 6e 67 20 74 6f |ithout h|aving to| |00001c80| 20 6b 6e 6f 77 20 74 68 | 65 20 64 65 74 61 69 6c | know th|e detail| |00001c90| 73 20 6f 66 20 0d 74 68 | 69 73 20 73 74 72 75 63 |s of .th|is struc| |00001ca0| 74 75 72 65 2e 0d 46 6f | 72 6d 61 74 0d 54 68 65 |ture..Fo|rmat.The| |00001cb0| 20 69 6e 66 6f 72 6d 61 | 74 69 6f 6e 20 61 62 6f | informa|tion abo| |00001cc0| 76 65 20 74 68 65 20 62 | 72 6f 6b 65 6e 20 6c 69 |ve the b|roken li| |00001cd0| 6e 65 20 69 73 20 74 68 | 65 20 64 61 74 61 20 63 |ne is th|e data c| |00001ce0| 6f 6e 74 61 69 6e 65 72 | 20 68 65 61 64 65 72 2e |ontainer| header.| |00001cf0| 20 54 68 65 20 69 6e 66 | 6f 72 6d 61 74 69 6f 6e | The inf|ormation| |00001d00| 20 62 65 6c 6f 77 20 74 | 68 65 20 62 72 6f 6b 65 | below t|he broke| |00001d10| 6e 20 6c 69 6e 65 20 69 | 73 20 74 68 65 20 64 61 |n line i|s the da| |00001d20| 74 61 20 63 6f 6e 74 61 | 69 6e 65 72 20 64 61 74 |ta conta|iner dat| |00001d30| 61 2e 0d 6c 6f 6e 67 09 | 09 43 6f 6e 74 61 69 6e |a..long.|.Contain| |00001d40| 65 72 53 69 7a 65 3b 0d | 6c 6f 6e 67 09 09 43 6f |erSize;.|long..Co| |00001d50| 6e 74 61 69 6e 65 72 54 | 79 70 65 3b 0d 6c 6f 6e |ntainerT|ype;.lon| |00001d60| 67 09 09 43 6f 6e 74 61 | 69 6e 65 72 49 44 0d 6c |g..Conta|inerID.l| |00001d70| 6f 6e 67 09 09 55 73 65 | 72 52 65 66 43 6f 6e 3b |ong..Use|rRefCon;| |00001d80| 0d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |.-------|--------| |00001d90| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------| |00001da0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------| |00001db0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 0d 42 79 74 65 |--------|---.Byte| |00001dc0| 73 5b 5d 09 44 61 74 61 | 3b 0d 50 61 72 61 6d 65 |s[].Data|;.Parame| |00001dd0| 74 65 72 73 0d 43 6f 6e | 74 61 69 6e 65 72 53 69 |ters.Con|tainerSi| |00001de0| 7a 65 09 54 68 65 20 73 | 69 7a 65 20 6f 66 20 74 |ze.The s|ize of t| |00001df0| 68 65 20 64 61 74 61 20 | 69 6e 20 74 68 65 20 63 |he data |in the c| |00001e00| 6f 6e 74 61 69 6e 65 72 | 20 28 6e 6f 74 20 69 6e |ontainer| (not in| |00001e10| 63 6c 75 64 69 6e 67 20 | 74 68 65 20 31 36 20 62 |cluding |the 16 b| |00001e20| 79 74 65 73 20 74 61 6b | 65 6e 20 75 70 20 62 79 |ytes tak|en up by| |00001e30| 20 74 68 65 20 63 6f 6e | 74 61 69 6e 65 72 20 68 | the con|tainer h| |00001e40| 65 61 64 65 72 29 2e 0d | 43 6f 6e 74 61 69 6e 65 |eader)..|Containe| |00001e50| 72 54 79 70 65 09 54 68 | 65 20 6b 69 6e 64 20 6f |rType.Th|e kind o| |00001e60| 66 20 64 61 74 61 20 6b | 65 70 74 20 69 6e 20 74 |f data k|ept in t| |00001e70| 68 65 20 63 6f 6e 74 61 | 69 6e 65 72 2e 20 46 6f |he conta|iner. Fo| |00001e80| 72 20 65 78 61 6d 70 6c | 65 2c 20 74 68 65 20 64 |r exampl|e, the d| |00001e90| 65 73 69 67 6e 61 74 69 | 6f 6e 20 d4 41 52 54 4c |esignati|on .ARTL| |00001ea0| 27 20 69 6e 64 69 63 61 | 74 65 73 20 74 68 61 74 |' indica|tes that| |00001eb0| 20 61 72 74 69 63 6c 65 | 20 69 6e 66 6f 72 6d 61 | article| informa| |00001ec0| 74 69 6f 6e 20 69 73 20 | 6b 65 70 74 20 69 6e 20 |tion is |kept in | |00001ed0| 74 68 65 20 64 61 74 61 | 20 73 65 63 74 69 6f 6e |the data| section| |00001ee0| 2e 20 54 68 65 72 65 20 | 61 72 65 20 73 65 76 65 |. There |are seve| |00001ef0| 72 61 6c 20 70 72 65 64 | 65 73 69 67 6e 65 64 20 |ral pred|esigned | |00001f00| 73 74 61 6e 64 61 72 64 | 20 64 61 74 61 20 63 6f |standard| data co| |00001f10| 6e 74 61 69 6e 65 72 20 | 74 79 70 65 73 2e 20 45 |ntainer |types. E| |00001f20| 61 63 68 20 69 73 20 65 | 78 70 6c 61 69 6e 65 64 |ach is e|xplained| |00001f30| 20 69 6e 20 64 65 74 61 | 69 6c 20 69 6e 20 74 68 | in deta|il in th| |00001f40| 65 20 66 6f 6c 6c 6f 77 | 69 6e 67 20 73 65 63 74 |e follow|ing sect| |00001f50| 69 6f 6e 20 d2 53 74 61 | 6e 64 61 72 64 20 44 61 |ion .Sta|ndard Da| |00001f60| 74 61 20 43 6f 6e 74 61 | 69 6e 65 72 20 54 79 70 |ta Conta|iner Typ| |00001f70| 65 73 2e d3 0d 43 6f 6e | 74 61 69 6e 65 72 49 44 |es...Con|tainerID| |00001f80| 09 41 20 34 2d 62 79 74 | 65 20 61 70 70 6c 69 63 |.A 4-byt|e applic| |00001f90| 61 74 69 6f 6e 2d 73 70 | 65 63 69 66 69 63 20 76 |ation-sp|ecific v| |00001fa0| 61 6c 75 65 2e 20 49 74 | 20 63 61 6e 20 62 65 20 |alue. It| can be | |00001fb0| 75 73 65 64 20 62 79 20 | 0d 74 68 65 20 61 70 70 |used by |.the app| |00001fc0| 6c 69 63 61 74 69 6f 6e | 20 66 6f 72 20 61 6e 79 |lication| for any| |00001fd0| 20 70 75 72 70 6f 73 65 | 2e 20 49 74 20 63 61 6e | purpose|. It can| |00001fe0| 2c 20 66 6f 72 20 65 78 | 61 6d 70 6c 65 2c 20 62 |, for ex|ample, b| |00001ff0| 65 20 75 73 65 64 20 74 | 6f 20 61 73 73 69 67 6e |e used t|o assign| |00002000| 20 61 20 75 6e 69 71 75 | 65 20 49 44 20 66 6f 72 | a uniqu|e ID for| |00002010| 20 65 61 63 68 20 63 6f | 6e 74 61 69 6e 65 72 20 | each co|ntainer | |00002020| 6f 66 20 74 68 65 20 73 | 61 6d 65 20 74 79 70 65 |of the s|ame type| |00002030| 2c 20 65 6e 61 62 6c 69 | 6e 67 20 69 74 20 74 6f |, enabli|ng it to| |00002040| 20 62 65 20 72 65 66 65 | 72 72 65 64 20 74 6f 20 | be refe|rred to | |00002050| 66 72 6f 6d 20 6f 74 68 | 65 72 20 63 6f 6e 74 61 |from oth|er conta| |00002060| 69 6e 65 72 73 20 0d 62 | 79 20 74 68 61 74 20 49 |iners .b|y that I| |00002070| 44 2e 0d 55 73 65 72 52 | 65 66 43 6f 6e 09 54 68 |D..UserR|efCon.Th| |00002080| 69 73 20 66 69 65 6c 64 | 20 63 61 6e 20 62 65 20 |is field| can be | |00002090| 75 73 65 64 20 62 79 20 | 61 70 70 6c 69 63 61 74 |used by |applicat| |000020a0| 69 6f 6e 73 20 66 6f 72 | 20 61 6e 79 20 70 75 72 |ions for| any pur| |000020b0| 70 6f 73 65 2e 0d 44 61 | 74 61 09 54 68 69 73 20 |pose..Da|ta.This | |000020c0| 73 65 63 74 69 6f 6e 20 | 63 6f 6e 74 61 69 6e 73 |section |contains| |000020d0| 20 74 68 65 20 61 63 74 | 75 61 6c 20 64 61 74 61 | the act|ual data| |000020e0| 2c 20 74 68 65 20 73 69 | 7a 65 20 6f 66 20 77 68 |, the si|ze of wh| |000020f0| 69 63 68 20 69 73 20 64 | 65 66 69 6e 65 64 20 69 |ich is d|efined i| |00002100| 6e 20 74 68 65 20 43 6f | 6e 74 61 69 6e 65 72 53 |n the Co|ntainerS| |00002110| 69 7a 65 20 70 61 72 61 | 6d 65 74 65 72 2e 0d 53 |ize para|meter..S| |00002120| 74 61 6e 64 61 72 64 20 | 64 61 74 61 20 63 6f 6e |tandard |data con| |00002130| 74 61 69 6e 65 72 20 74 | 79 70 65 73 0d 41 70 70 |tainer t|ypes.App| |00002140| 6c 65 20 73 75 70 70 6c | 69 65 73 20 61 20 73 65 |le suppl|ies a se| |00002150| 74 20 6f 66 20 66 69 76 | 65 20 73 74 61 6e 64 61 |t of fiv|e standa| |00002160| 72 64 20 64 61 74 61 20 | 63 6f 6e 74 61 69 6e 65 |rd data |containe| |00002170| 72 20 74 79 70 65 73 2e | 20 59 6f 75 72 20 61 70 |r types.| Your ap| |00002180| 70 6c 69 63 61 74 69 6f | 6e 20 73 68 6f 75 6c 64 |plicatio|n should| |00002190| 20 6e 6f 74 20 75 73 65 | 20 74 68 65 73 65 20 72 | not use| these r| |000021a0| 65 73 65 72 76 65 64 20 | 64 61 74 61 20 63 6f 6e |eserved |data con| |000021b0| 74 61 69 6e 65 72 20 74 | 79 70 65 73 20 65 78 63 |tainer t|ypes exc| |000021c0| 65 70 74 20 69 6e 20 74 | 68 65 20 64 65 66 69 6e |ept in t|he defin| |000021d0| 65 64 20 6d 61 6e 6e 65 | 72 2e 20 0d 54 68 65 20 |ed manne|r. .The | |000021e0| 66 69 76 65 20 64 61 74 | 61 20 63 6f 6e 74 61 69 |five dat|a contai| |000021f0| 6e 65 72 20 74 79 70 65 | 73 20 61 72 65 20 61 73 |ner type|s are as| |00002200| 20 66 6f 6c 6c 6f 77 73 | 3a 0d 6e 09 55 70 64 61 | follows|:.n.Upda| |00002210| 74 65 20 66 69 6c 65 20 | 68 65 61 64 65 72 0d 6e |te file |header.n| |00002220| 09 41 72 74 69 63 6c 65 | 0d 6e 09 41 72 74 69 63 |.Article|.n.Artic| |00002230| 6c 65 20 6c 69 73 74 20 | 68 65 61 64 65 72 0d 6e |le list |header.n| |00002240| 09 46 72 65 65 0d 6e 09 | 43 6f 6d 70 72 65 73 73 |.Free.n.|Compress| |00002250| 65 64 0d 45 61 63 68 20 | 74 79 70 65 20 69 73 20 |ed.Each |type is | |00002260| 64 69 73 63 75 73 73 65 | 64 20 69 6e 20 64 65 74 |discusse|d in det| |00002270| 61 69 6c 20 69 6e 20 74 | 68 65 20 66 6f 6c 6c 6f |ail in t|he follo| |00002280| 77 69 6e 67 20 73 65 63 | 74 69 6f 6e 73 2e 20 54 |wing sec|tions. T| |00002290| 68 65 20 63 6f 6e 73 74 | 61 6e 74 73 20 0d 66 6f |he const|ants .fo| |000022a0| 72 20 74 68 65 20 64 61 | 74 61 20 63 6f 6e 74 61 |r the da|ta conta| |000022b0| 69 6e 65 72 20 74 79 70 | 65 73 2c 20 61 73 20 77 |iner typ|es, as w| |000022c0| 65 6c 6c 20 61 73 20 6f | 74 68 65 72 20 63 6f 6e |ell as o|ther con| |000022d0| 73 74 61 6e 74 73 2c 20 | 61 72 65 20 64 65 66 69 |stants, |are defi| |000022e0| 6e 65 64 20 69 6e 20 74 | 68 65 20 41 53 55 43 6f |ned in t|he ASUCo| |000022f0| 6e 73 74 61 6e 74 73 2e | 68 20 66 69 6c 65 2e 0d |nstants.|h file..| |00002300| 55 70 64 61 74 65 20 66 | 69 6c 65 20 68 65 61 64 |Update f|ile head| |00002310| 65 72 0d 41 53 55 44 43 | 54 79 70 65 46 69 6c 65 |er.ASUDC|TypeFile| |00002320| 48 65 61 64 65 72 20 28 | 27 46 48 44 52 27 29 0d |Header (|'FHDR').| |00002330| 41 73 20 6e 6f 74 65 64 | 20 65 61 72 6c 69 65 72 |As noted| earlier| |00002340| 2c 20 65 61 63 68 20 41 | 70 70 6c 65 53 65 61 72 |, each A|ppleSear| |00002350| 63 68 20 75 70 64 61 74 | 65 20 66 69 6c 65 20 68 |ch updat|e file h| |00002360| 61 73 20 61 20 66 69 6c | 65 20 68 65 61 64 65 72 |as a fil|e header| |00002370| 2e 20 54 68 65 20 75 70 | 64 61 74 65 20 66 69 6c |. The up|date fil| |00002380| 65 20 68 65 61 64 65 72 | 20 69 73 20 61 6c 77 61 |e header| is alwa| |00002390| 79 73 20 74 68 65 20 66 | 69 72 73 74 20 64 61 74 |ys the f|irst dat| |000023a0| 61 20 63 6f 6e 74 61 69 | 6e 65 72 20 69 6e 20 61 |a contai|ner in a| |000023b0| 6e 20 75 70 64 61 74 65 | 20 66 69 6c 65 2e 20 49 |n update| file. I| |000023c0| 74 73 20 64 61 74 61 20 | 63 6f 6e 74 61 69 6e 65 |ts data |containe| |000023d0| 72 20 74 79 70 65 20 69 | 73 20 27 46 48 44 52 27 |r type i|s 'FHDR'| |000023e0| 2e 20 49 74 20 69 73 20 | 6d 61 64 65 20 75 70 20 |. It is |made up | |000023f0| 6f 66 20 66 6f 75 72 20 | 66 69 65 6c 64 73 2c 20 |of four |fields, | |00002400| 65 61 63 68 20 75 73 69 | 6e 67 20 34 20 62 79 74 |each usi|ng 4 byt| |00002410| 65 73 2e 20 54 68 65 73 | 65 20 66 69 65 6c 64 73 |es. Thes|e fields| |00002420| 20 61 72 65 20 64 65 66 | 69 6e 65 64 20 62 65 6c | are def|ined bel| |00002430| 6f 77 2e 0d 54 68 65 20 | 63 6f 6e 73 74 61 6e 74 |ow..The |constant| |00002440| 73 20 66 6f 72 20 74 68 | 69 73 20 64 61 74 61 20 |s for th|is data | |00002450| 63 6f 6e 74 61 69 6e 65 | 72 20 74 79 70 65 20 61 |containe|r type a| |00002460| 72 65 20 64 65 66 69 6e | 65 64 20 69 6e 20 74 68 |re defin|ed in th| |00002470| 65 20 41 53 55 43 6f 6e | 73 74 61 6e 74 73 2e 68 |e ASUCon|stants.h| |00002480| 20 66 69 6c 65 2e 0d 46 | 6f 72 6d 61 74 0d 54 68 | file..F|ormat.Th| |00002490| 65 20 69 6e 66 6f 72 6d | 61 74 69 6f 6e 20 61 62 |e inform|ation ab| |000024a0| 6f 76 65 20 74 68 65 20 | 62 72 6f 6b 65 6e 20 6c |ove the |broken l| |000024b0| 69 6e 65 20 69 73 20 74 | 68 65 20 64 61 74 61 20 |ine is t|he data | |000024c0| 63 6f 6e 74 61 69 6e 65 | 72 20 68 65 61 64 65 72 |containe|r header| |000024d0| 2c 20 74 68 65 20 73 74 | 61 6e 64 61 72 64 20 31 |, the st|andard 1| |000024e0| 36 2d 62 79 74 65 20 68 | 65 61 64 65 72 20 72 65 |6-byte h|eader re| |000024f0| 71 75 69 72 65 64 20 66 | 6f 72 20 65 76 65 72 79 |quired f|or every| |00002500| 20 64 61 74 61 20 63 6f | 6e 74 61 69 6e 65 72 2e | data co|ntainer.| |00002510| 20 54 68 65 20 69 6e 66 | 6f 72 6d 61 74 69 6f 6e | The inf|ormation| |00002520| 20 62 65 6c 6f 77 20 74 | 68 65 20 62 72 6f 6b 65 | below t|he broke| |00002530| 6e 20 6c 69 6e 65 20 69 | 73 20 74 68 65 20 64 61 |n line i|s the da| |00002540| 74 61 20 63 6f 6e 74 61 | 69 6e 65 72 20 64 61 74 |ta conta|iner dat| |00002550| 61 2c 20 77 68 69 63 68 | 20 69 6e 20 74 68 69 73 |a, which| in this| |00002560| 20 63 61 73 65 20 69 73 | 20 74 68 65 20 75 70 64 | case is| the upd| |00002570| 61 74 65 20 66 69 6c 65 | 20 68 65 61 64 65 72 20 |ate file| header | |00002580| 69 6e 66 6f 72 6d 61 74 | 69 6f 6e 2e 0d 6c 6f 6e |informat|ion..lon| |00002590| 67 09 31 36 09 09 2f 2f | 20 73 69 7a 65 20 6f 66 |g.16..//| size of| |000025a0| 20 74 68 65 20 64 61 74 | 61 20 73 65 63 74 69 6f | the dat|a sectio| |000025b0| 6e 0d 6c 6f 6e 67 09 27 | 46 48 44 52 27 09 2f 2f |n.long.'|FHDR'.//| |000025c0| 20 64 61 74 61 20 63 6f | 6e 74 61 69 6e 65 72 20 | data co|ntainer | |000025d0| 74 79 70 65 20 41 53 55 | 44 43 54 79 70 65 46 69 |type ASU|DCTypeFi| |000025e0| 6c 65 48 65 61 64 65 72 | 0d 6c 6f 6e 67 09 30 09 |leHeader|.long.0.| |000025f0| 09 2f 2f 20 64 61 74 61 | 20 63 6f 6e 74 61 69 6e |.// data| contain| |00002600| 65 72 20 69 64 20 2d 20 | 6e 6f 74 20 75 73 65 64 |er id - |not used| |00002610| 0d 6c 6f 6e 67 09 30 09 | 09 2f 2f 20 64 61 74 61 |.long.0.|.// data| |00002620| 20 63 6f 6e 74 61 69 6e | 65 72 20 75 73 65 72 52 | contain|er userR| |00002630| 65 66 43 63 6f 6e 20 2d | 20 6e 6f 74 20 75 73 65 |efCcon -| not use| |00002640| 64 0d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |d.------|--------| |00002650| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------| |00002660| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------| |00002670| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 0d 6c 6f 6e |--------|----.lon| |00002680| 67 09 46 69 6c 65 46 6f | 72 6d 61 74 56 65 72 73 |g.FileFo|rmatVers| |00002690| 69 6f 6e 09 2f 2f 20 0d | 6c 6f 6e 67 09 55 70 64 |ion.// .|long.Upd| |000026a0| 61 74 65 54 79 70 65 09 | 09 09 2f 2f 20 0d 6c 6f |ateType.|..// .lo| |000026b0| 6e 67 09 55 70 64 61 74 | 65 56 65 72 73 69 6f 6e |ng.Updat|eVersion| |000026c0| 09 09 2f 2f 20 0d 6c 6f | 6e 67 09 4e 75 6d 4f 66 |..// .lo|ng.NumOf| |000026d0| 44 61 74 61 43 6f 6e 74 | 61 69 6e 65 72 73 09 2f |DataCont|ainers./| |000026e0| 2f 20 0d 0d 44 65 73 63 | 72 69 70 74 69 6f 6e 0d |/ ..Desc|ription.| |000026f0| 46 69 6c 65 46 6f 72 6d | 61 74 56 65 72 73 69 6f |FileForm|atVersio| |00002700| 6e 0d 54 68 69 73 20 66 | 69 65 6c 64 20 69 6e 64 |n.This f|ield ind| |00002710| 69 63 61 74 65 73 20 74 | 68 65 20 76 65 72 73 69 |icates t|he versi| |00002720| 6f 6e 20 6f 66 20 74 68 | 65 20 66 69 6c 65 20 66 |on of th|e file f| |00002730| 6f 72 6d 61 74 2e 20 41 | 70 70 6c 69 63 61 74 69 |ormat. A|pplicati| |00002740| 6f 6e 73 20 75 73 65 20 | 74 68 69 73 20 66 69 65 |ons use |this fie| |00002750| 6c 64 20 74 6f 20 64 65 | 74 65 72 6d 69 6e 65 20 |ld to de|termine | |00002760| 74 68 65 20 66 6f 72 6d | 61 74 20 6f 66 20 61 20 |the form|at of a | |00002770| 66 69 6c 65 2c 20 73 75 | 63 68 20 61 73 20 69 74 |file, su|ch as it| |00002780| 73 20 66 69 6c 65 20 73 | 74 72 75 63 74 75 72 65 |s file s|tructure| |00002790| 20 61 6e 64 20 68 65 61 | 64 65 72 2e 20 46 6f 72 | and hea|der. For| |000027a0| 20 65 78 61 6d 70 6c 65 | 2c 20 69 66 20 74 68 69 | example|, if thi| |000027b0| 73 20 66 69 6c 65 20 68 | 65 61 64 65 72 20 69 73 |s file h|eader is| |000027c0| 20 65 78 70 61 6e 64 65 | 64 20 69 6e 20 74 68 65 | expande|d in the| |000027d0| 20 66 75 74 75 72 65 20 | 74 6f 20 69 6e 63 6c 75 | future |to inclu| |000027e0| 64 65 20 6d 6f 72 65 20 | 69 6e 66 6f 72 6d 61 74 |de more |informat| |000027f0| 69 6f 6e 20 61 6e 64 20 | 74 68 65 20 76 65 72 73 |ion and |the vers| |00002800| 69 6f 6e 20 6e 75 6d 62 | 65 72 20 69 73 20 63 68 |ion numb|er is ch| |00002810| 61 6e 67 65 64 2c 20 74 | 68 65 6e 20 62 79 20 72 |anged, t|hen by r| |00002820| 65 61 64 69 6e 67 20 74 | 68 65 20 66 69 6c 65 20 |eading t|he file | |00002830| 66 6f 72 6d 61 74 20 76 | 65 72 73 69 6f 6e 20 61 |format v|ersion a| |00002840| 6e 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 20 63 61 |n applic|ation ca| |00002850| 6e 20 64 65 74 65 72 6d | 69 6e 65 20 69 66 20 74 |n determ|ine if t| |00002860| 68 65 20 61 64 64 69 74 | 69 6f 6e 61 6c 20 69 6e |he addit|ional in| |00002870| 66 6f 72 6d 61 74 69 6f | 6e 20 69 73 20 65 78 70 |formatio|n is exp| |00002880| 65 63 74 65 64 20 74 6f | 20 62 65 20 69 6e 20 74 |ected to| be in t| |00002890| 68 65 20 66 69 6c 65 20 | 68 65 61 64 65 72 2e 20 |he file |header. | |000028a0| 54 68 65 20 66 69 6c 65 | 20 66 6f 72 6d 61 74 20 |The file| format | |000028b0| 76 65 72 73 69 6f 6e 20 | 66 6f 72 20 74 68 69 73 |version |for this| |000028c0| 20 69 6d 70 6c 65 6d 65 | 6e 74 61 74 69 6f 6e 20 | impleme|ntation | |000028d0| 69 73 20 31 2e 0d 55 70 | 64 61 74 65 54 79 70 65 |is 1..Up|dateType| |000028e0| 09 54 68 69 73 20 66 69 | 65 6c 64 20 69 73 20 73 |.This fi|eld is s| |000028f0| 65 74 20 62 79 20 74 68 | 65 20 61 70 70 6c 69 63 |et by th|e applic| |00002900| 61 74 69 6f 6e 20 74 68 | 61 74 20 63 72 65 61 74 |ation th|at creat| |00002910| 65 64 20 74 68 65 20 66 | 69 6c 65 2c 20 61 6e 64 |ed the f|ile, and| |00002920| 20 69 74 20 73 65 72 76 | 65 73 20 61 20 70 75 72 | it serv|es a pur| |00002930| 70 6f 73 65 20 73 69 6d | 69 6c 61 72 20 74 6f 20 |pose sim|ilar to | |00002940| 74 68 61 74 20 6f 66 20 | 61 6e 20 48 46 53 20 66 |that of |an HFS f| |00002950| 69 6c 65 20 63 72 65 61 | 74 6f 72 20 74 79 70 65 |ile crea|tor type| |00002960| 2e 20 49 74 20 73 69 67 | 6e 61 6c 73 20 76 69 65 |. It sig|nals vie| |00002970| 77 65 72 20 61 70 70 6c | 69 63 61 74 69 6f 6e 73 |wer appl|ications| |00002980| 20 77 68 61 74 20 6b 69 | 6e 64 20 6f 66 20 69 6e | what ki|nd of in| |00002990| 66 6f 72 6d 61 74 69 6f | 6e 20 63 61 6e 20 62 65 |formatio|n can be| |000029a0| 20 69 6e 20 74 68 65 20 | 66 69 6c 65 20 61 6e 64 | in the |file and| |000029b0| 20 68 6f 77 20 69 74 20 | 69 73 20 6f 72 67 61 6e | how it |is organ| |000029c0| 69 7a 65 64 2e 20 41 70 | 70 6c 65 53 65 61 72 63 |ized. Ap|pleSearc| |000029d0| 68 20 63 6c 69 65 6e 74 | 20 73 6f 66 74 77 61 72 |h client| softwar| |000029e0| 65 20 73 65 74 73 20 74 | 68 69 73 20 74 6f 20 62 |e sets t|his to b| |000029f0| 65 20 27 42 4e 50 31 27 | 2e 0d 55 70 64 61 74 65 |e 'BNP1'|..Update| |00002a00| 56 65 72 73 69 6f 6e 09 | 41 70 70 6c 69 63 61 74 |Version.|Applicat| |00002a10| 69 6f 6e 73 20 63 61 6e | 20 75 73 65 20 74 68 69 |ions can| use thi| |00002a20| 73 20 66 69 65 6c 64 20 | 74 6f 20 64 69 73 74 69 |s field |to disti| |00002a30| 6e 67 75 69 73 68 20 76 | 61 72 69 61 74 69 6f 6e |nguish v|ariation| |00002a40| 73 20 6f 66 20 74 68 65 | 20 73 61 6d 65 20 75 70 |s of the| same up| |00002a50| 64 61 74 65 20 74 79 70 | 65 2e 0d 4e 75 6d 4f 66 |date typ|e..NumOf| |00002a60| 44 61 74 61 43 6f 6e 74 | 61 69 6e 65 72 73 0d 54 |DataCont|ainers.T| |00002a70| 68 69 73 20 66 69 65 6c | 64 20 6b 65 65 70 73 20 |his fiel|d keeps | |00002a80| 74 72 61 63 6b 20 6f 66 | 20 74 68 65 20 6e 75 6d |track of| the num| |00002a90| 62 65 72 20 6f 66 20 64 | 61 74 61 20 63 6f 6e 74 |ber of d|ata cont| |00002aa0| 61 69 6e 65 72 73 20 69 | 6e 20 74 68 65 20 66 69 |ainers i|n the fi| |00002ab0| 6c 65 2e 20 53 69 6e 63 | 65 20 74 68 65 20 66 69 |le. Sinc|e the fi| |00002ac0| 6c 65 20 68 65 61 64 65 | 72 20 69 74 73 65 6c 66 |le heade|r itself| |00002ad0| 20 69 73 20 61 20 64 61 | 74 61 20 63 6f 6e 74 61 | is a da|ta conta| |00002ae0| 69 6e 65 72 2c 20 74 68 | 69 73 20 66 69 65 6c 64 |iner, th|is field| |00002af0| 20 68 61 73 20 61 20 76 | 61 6c 75 65 20 6f 66 20 | has a v|alue of | |00002b00| 61 74 20 6c 65 61 73 74 | 20 31 2e 0d 4e 6f 74 65 |at least| 1..Note| |00002b10| 0d 54 68 65 20 69 64 20 | 61 6e 64 20 55 73 65 72 |.The id |and User| |00002b20| 52 65 66 63 6f 6e 20 70 | 61 72 61 6d 65 74 65 72 |Refcon p|arameter| |00002b30| 73 20 69 6e 20 74 68 65 | 20 64 61 74 61 20 63 6f |s in the| data co| |00002b40| 6e 74 61 69 6e 65 72 20 | 68 65 61 64 65 72 20 61 |ntainer |header a| |00002b50| 72 65 20 63 75 72 72 65 | 6e 74 6c 79 20 6e 6f 74 |re curre|ntly not| |00002b60| 20 75 73 65 64 20 61 6e | 64 20 61 72 65 20 73 65 | used an|d are se| |00002b70| 74 20 74 6f 20 30 2e 0d | 4f 74 68 65 72 20 64 61 |t to 0..|Other da| |00002b80| 74 61 20 63 6f 6e 74 61 | 69 6e 65 72 20 74 79 70 |ta conta|iner typ| |00002b90| 65 73 0d 41 66 74 65 72 | 20 74 68 65 20 75 70 64 |es.After| the upd| |00002ba0| 61 74 65 20 66 69 6c 65 | 20 68 65 61 64 65 72 2c |ate file| header,| |00002bb0| 20 74 68 65 20 6f 74 68 | 65 72 20 64 61 74 61 20 | the oth|er data | |00002bc0| 63 6f 6e 74 61 69 6e 65 | 72 73 20 66 6f 6c 6c 6f |containe|rs follo| |00002bd0| 77 20 69 6e 20 74 68 65 | 20 75 70 64 61 74 65 20 |w in the| update | |00002be0| 66 69 6c 65 2e 20 54 68 | 65 20 61 76 61 69 6c 61 |file. Th|e availa| |00002bf0| 62 6c 65 20 70 72 65 64 | 65 66 69 6e 65 64 20 74 |ble pred|efined t| |00002c00| 79 70 65 73 20 61 72 65 | 20 64 65 66 69 6e 65 64 |ypes are| defined| |00002c10| 20 69 6e 20 74 68 69 73 | 20 73 65 63 74 69 6f 6e | in this| section| |00002c20| 2e 20 4f 74 68 65 72 20 | 64 61 74 61 20 63 6f 6e |. Other |data con| |00002c30| 74 61 69 6e 65 72 73 20 | 63 61 6e 20 62 65 20 63 |tainers |can be c| |00002c40| 72 65 61 74 65 64 20 61 | 63 63 6f 72 64 69 6e 67 |reated a|ccording| |00002c50| 20 74 6f 20 74 68 65 20 | 73 70 65 63 69 66 69 63 | to the |specific| |00002c60| 61 74 69 6f 6e 20 69 6e | 20 74 68 65 20 d2 44 61 |ation in| the .Da| |00002c70| 74 61 20 43 6f 6e 74 61 | 69 6e 65 72 20 53 74 72 |ta Conta|iner Str| |00002c80| 75 63 74 75 72 65 d3 20 | 73 65 63 74 69 6f 6e 20 |ucture. |section | |00002c90| 65 61 72 6c 69 65 72 20 | 69 6e 20 74 68 69 73 20 |earlier |in this | |00002ca0| 63 68 61 70 74 65 72 2e | 0d 41 72 74 69 63 6c 65 |chapter.|.Article| |00002cb0| 0d 41 53 55 44 43 54 79 | 70 65 41 72 74 69 63 6c |.ASUDCTy|peArticl| |00002cc0| 65 20 28 27 41 52 54 4c | 27 29 0d 54 68 69 73 20 |e ('ARTL|').This | |00002cd0| 73 74 61 6e 64 61 72 64 | 20 64 61 74 61 20 63 6f |standard| data co| |00002ce0| 6e 74 61 69 6e 65 72 20 | 74 79 70 65 20 69 73 20 |ntainer |type is | |00002cf0| 6c 69 6b 65 6c 79 20 74 | 6f 20 62 65 20 74 68 65 |likely t|o be the| |00002d00| 20 6d 6f 73 74 20 66 72 | 65 71 75 65 6e 74 6c 79 | most fr|equently| |00002d10| 20 75 73 65 64 20 64 61 | 74 61 20 63 6f 6e 74 61 | used da|ta conta| |00002d20| 69 6e 65 72 20 74 79 70 | 65 2e 20 49 74 20 63 6f |iner typ|e. It co| |00002d30| 6e 74 61 69 6e 73 20 74 | 68 65 20 69 6e 64 69 76 |ntains t|he indiv| |00002d40| 69 64 75 61 6c 20 61 72 | 74 69 63 6c 65 73 20 74 |idual ar|ticles t| |00002d50| 68 61 74 20 6d 61 6b 65 | 20 75 70 20 61 6e 20 75 |hat make| up an u| |00002d60| 70 64 61 74 65 2e 0d 41 | 72 74 69 63 6c 65 73 20 |pdate..A|rticles | |00002d70| 61 72 65 20 65 78 70 6c | 61 69 6e 65 64 20 69 6e |are expl|ained in| |00002d80| 20 6d 6f 72 65 20 64 65 | 74 61 69 6c 20 69 6e 20 | more de|tail in | |00002d90| 43 68 61 70 74 65 72 20 | 32 2c 20 d2 41 72 74 69 |Chapter |2, .Arti| |00002da0| 63 6c 65 73 2e d3 0d 54 | 68 65 20 63 6f 6e 73 74 |cles...T|he const| |00002db0| 61 6e 74 73 20 66 6f 72 | 20 74 68 69 73 20 64 61 |ants for| this da| |00002dc0| 74 61 20 63 6f 6e 74 61 | 69 6e 65 72 20 74 79 70 |ta conta|iner typ| |00002dd0| 65 20 61 72 65 20 64 65 | 66 69 6e 65 64 20 69 6e |e are de|fined in| |00002de0| 20 74 68 65 20 41 53 55 | 43 6f 6e 73 74 61 6e 74 | the ASU|Constant| |00002df0| 73 2e 68 20 66 69 6c 65 | 2e 0d 46 6f 72 6d 61 74 |s.h file|..Format| |00002e00| 0d 54 68 65 20 69 6e 66 | 6f 72 6d 61 74 69 6f 6e |.The inf|ormation| |00002e10| 20 61 62 6f 76 65 20 74 | 68 65 20 62 72 6f 6b 65 | above t|he broke| |00002e20| 6e 20 6c 69 6e 65 20 69 | 73 20 74 68 65 20 64 61 |n line i|s the da| |00002e30| 74 61 20 63 6f 6e 74 61 | 69 6e 65 72 20 68 65 61 |ta conta|iner hea| |00002e40| 64 65 72 2e 20 54 68 65 | 20 69 6e 66 6f 72 6d 61 |der. The| informa| |00002e50| 74 69 6f 6e 20 62 65 6c | 6f 77 20 74 68 65 20 62 |tion bel|ow the b| |00002e60| 72 6f 6b 65 6e 20 6c 69 | 6e 65 20 69 73 20 74 68 |roken li|ne is th| |00002e70| 65 20 64 61 74 61 20 63 | 6f 6e 74 61 69 6e 65 72 |e data c|ontainer| |00002e80| 20 64 61 74 61 2e 0d 6c | 6f 6e 67 09 56 41 52 49 | data..l|ong.VARI| |00002e90| 41 42 4c 45 09 2f 2f 20 | 73 69 7a 65 20 6f 66 20 |ABLE.// |size of | |00002ea0| 74 68 65 20 64 61 74 61 | 20 73 65 63 74 69 6f 6e |the data| section| |00002eb0| 0d 6c 6f 6e 67 09 27 41 | 52 54 4c 27 09 2f 2f 20 |.long.'A|RTL'.// | |00002ec0| 64 61 74 61 20 63 6f 6e | 74 61 69 6e 65 72 20 74 |data con|tainer t| |00002ed0| 79 70 65 20 41 53 55 44 | 43 54 79 70 65 41 72 74 |ype ASUD|CTypeArt| |00002ee0| 69 63 6c 65 0d 6c 6f 6e | 67 09 30 09 09 2f 2f 20 |icle.lon|g.0..// | |00002ef0| 64 61 74 61 20 63 6f 6e | 74 61 69 6e 65 72 20 69 |data con|tainer i| |00002f00| 64 20 2d 20 6e 6f 74 20 | 75 73 65 64 0d 6c 6f 6e |d - not |used.lon| |00002f10| 67 09 30 09 09 2f 2f 20 | 64 61 74 61 20 63 6f 6e |g.0..// |data con| |00002f20| 74 61 69 6e 65 72 20 75 | 73 65 72 20 72 65 66 20 |tainer u|ser ref | |00002f30| 63 6f 6e 0d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |con.----|--------| |00002f40| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------| |00002f50| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------| |00002f60| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 0d 6c |--------|------.l| |00002f70| 6f 6e 67 09 41 72 74 69 | 63 6c 65 48 65 61 64 65 |ong.Arti|cleHeade| |00002f80| 72 53 69 7a 65 09 2f 2f | 20 73 69 7a 65 20 6f 66 |rSize.//| size of| |00002f90| 20 74 68 65 20 61 72 74 | 69 63 6c 65 20 68 65 61 | the art|icle hea| |00002fa0| 64 65 72 20 0d 09 09 09 | 09 09 20 20 20 28 77 2f |der ....|.. (w/| |00002fb0| 6f 20 64 61 74 61 29 0d | 6c 6f 6e 67 09 41 72 74 |o data).|long.Art| |00002fc0| 69 63 6c 65 44 61 74 61 | 53 69 7a 65 20 09 2f 2f |icleData|Size .//| |00002fd0| 20 73 69 7a 65 20 6f 66 | 20 61 72 74 69 63 6c 65 | size of| article| |00002fe0| 20 64 61 74 61 0d 6c 6f | 6e 67 09 41 72 74 69 63 | data.lo|ng.Artic| |00002ff0| 6c 65 54 79 70 65 20 09 | 09 2f 2f 20 61 72 74 69 |leType .|.// arti| |00003000| 63 6c 65 20 74 79 70 65 | 2c 20 73 75 63 68 20 61 |cle type|, such a| |00003010| 73 20 27 54 45 58 54 27 | 2e 20 0d 41 53 55 41 72 |s 'TEXT'|. .ASUAr| |00003020| 74 69 63 6c 65 44 61 74 | 65 09 0d 09 41 72 74 69 |ticleDat|e...Arti| |00003030| 63 6c 65 44 61 74 65 54 | 69 6d 65 09 09 2f 2f 20 |cleDateT|ime..// | |00003040| 64 61 74 65 20 61 6e 64 | 20 74 69 6d 65 20 6f 66 |date and| time of| |00003050| 20 74 68 69 73 20 61 72 | 74 69 63 6c 65 0d 6c 6f | this ar|ticle.lo| |00003060| 6e 67 09 55 73 65 72 42 | 79 74 65 73 09 09 09 2f |ng.UserB|ytes.../| |00003070| 2f 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 2d 73 70 |/ applic|ation-sp| |00003080| 65 63 69 66 69 63 20 64 | 61 74 61 0d 43 53 74 72 |ecific d|ata.CStr| |00003090| 69 6e 67 0d 09 41 72 74 | 69 63 6c 65 54 69 74 6c |ing..Art|icleTitl| |000030a0| 65 09 09 2f 2f 20 74 69 | 74 6c 65 20 6f 66 20 74 |e..// ti|tle of t| |000030b0| 68 65 20 61 72 74 69 63 | 6c 65 0d 43 53 74 72 69 |he artic|le.CStri| |000030c0| 6e 67 0d 09 41 72 74 69 | 63 6c 65 53 6f 75 72 63 |ng..Arti|cleSourc| |000030d0| 65 09 09 2f 2f 20 73 6f | 75 72 63 65 20 6f 66 20 |e..// so|urce of | |000030e0| 74 68 65 20 61 72 74 69 | 63 6c 65 0d 64 61 74 61 |the arti|cle.data| |000030f0| 09 09 09 09 09 2f 2f 20 | 61 63 74 75 61 6c 20 64 |.....// |actual d| |00003100| 61 74 61 0d 41 72 74 69 | 63 6c 65 20 6c 69 73 74 |ata.Arti|cle list| |00003110| 20 68 65 61 64 65 72 0d | 41 53 55 44 43 54 79 70 | header.|ASUDCTyp| |00003120| 65 41 72 74 69 63 6c 65 | 4c 69 73 74 48 65 61 64 |eArticle|ListHead| |00003130| 65 72 20 28 27 41 4c 48 | 44 27 29 0d 54 68 69 73 |er ('ALH|D').This| |00003140| 20 73 74 61 6e 64 61 72 | 64 20 64 61 74 61 20 63 | standar|d data c| |00003150| 6f 6e 74 61 69 6e 65 72 | 20 74 79 70 65 20 69 73 |ontainer| type is| |00003160| 20 75 73 65 64 20 61 73 | 20 74 68 65 20 62 65 67 | used as| the beg| |00003170| 69 6e 6e 69 6e 67 20 6f | 66 20 61 20 6c 69 6e 6b |inning o|f a link| |00003180| 65 64 20 6c 69 73 74 20 | 6f 66 20 64 61 74 61 20 |ed list |of data | |00003190| 63 6f 6e 74 61 69 6e 65 | 72 73 20 6f 66 20 74 79 |containe|rs of ty| |000031a0| 70 65 20 27 41 52 54 4c | 27 2e 20 41 66 74 65 72 |pe 'ARTL|'. After| |000031b0| 20 74 68 69 73 20 64 61 | 74 61 20 63 6f 6e 74 61 | this da|ta conta| |000031c0| 69 6e 65 72 2c 20 74 68 | 65 20 6e 75 6d 62 65 72 |iner, th|e number| |000031d0| 20 6f 66 20 27 41 52 54 | 4c 27 20 64 61 74 61 20 | of 'ART|L' data | |000031e0| 63 6f 6e 74 61 69 6e 65 | 72 73 20 73 70 65 63 69 |containe|rs speci| |000031f0| 66 69 65 64 20 69 6e 20 | 74 68 65 20 4e 75 6d 4f |fied in |the NumO| |00003200| 66 41 72 74 69 63 6c 65 | 73 20 70 61 72 61 6d 65 |fArticle|s parame| |00003210| 74 65 72 20 73 68 6f 75 | 6c 64 20 64 69 72 65 63 |ter shou|ld direc| |00003220| 74 6c 79 20 66 6f 6c 6c | 6f 77 2e 0d 54 68 65 20 |tly foll|ow..The | |00003230| 63 6f 6e 73 74 61 6e 74 | 73 20 66 6f 72 20 74 68 |constant|s for th| |00003240| 69 73 20 64 61 74 61 20 | 63 6f 6e 74 61 69 6e 65 |is data |containe| |00003250| 72 20 74 79 70 65 20 61 | 72 65 20 64 65 66 69 6e |r type a|re defin| |00003260| 65 64 20 69 6e 20 74 68 | 65 20 41 53 55 43 6f 6e |ed in th|e ASUCon| |00003270| 73 74 61 6e 74 73 2e 68 | 20 66 69 6c 65 2e 0d 46 |stants.h| file..F| |00003280| 6f 72 6d 61 74 0d 54 68 | 65 20 69 6e 66 6f 72 6d |ormat.Th|e inform| |00003290| 61 74 69 6f 6e 20 61 62 | 6f 76 65 20 74 68 65 20 |ation ab|ove the | |000032a0| 62 72 6f 6b 65 6e 20 6c | 69 6e 65 20 69 73 20 74 |broken l|ine is t| |000032b0| 68 65 20 64 61 74 61 20 | 63 6f 6e 74 61 69 6e 65 |he data |containe| |000032c0| 72 20 68 65 61 64 65 72 | 2e 20 54 68 65 20 69 6e |r header|. The in| |000032d0| 66 6f 72 6d 61 74 69 6f | 6e 20 62 65 6c 6f 77 20 |formatio|n below | |000032e0| 74 68 65 20 62 72 6f 6b | 65 6e 20 6c 69 6e 65 20 |the brok|en line | |000032f0| 69 73 20 74 68 65 20 64 | 61 74 61 20 63 6f 6e 74 |is the d|ata cont| |00003300| 61 69 6e 65 72 20 64 61 | 74 61 2e 0d 6c 6f 6e 67 |ainer da|ta..long| |00003310| 09 38 09 09 2f 2f 20 73 | 69 7a 65 20 6f 66 20 74 |.8..// s|ize of t| |00003320| 68 65 20 64 61 74 61 20 | 73 65 63 74 69 6f 6e 0d |he data |section.| |00003330| 6c 6f 6e 67 09 27 41 4c | 48 44 27 09 2f 2f 20 64 |long.'AL|HD'.// d| |00003340| 61 74 61 20 63 6f 6e 74 | 61 69 6e 65 72 20 74 79 |ata cont|ainer ty| |00003350| 70 65 20 0d 09 09 09 20 | 20 20 41 53 55 44 43 54 |pe .... | ASUDCT| |00003360| 79 70 65 41 72 74 69 63 | 6c 65 4c 69 73 74 48 65 |ypeArtic|leListHe| |00003370| 61 64 65 72 0d 6c 6f 6e | 67 09 30 09 09 2f 2f 20 |ader.lon|g.0..// | |00003380| 64 61 74 61 20 63 6f 6e | 74 61 69 6e 65 72 20 69 |data con|tainer i| |00003390| 64 0d 6c 6f 6e 67 09 30 | 09 09 2f 2f 20 64 61 74 |d.long.0|..// dat| |000033a0| 61 20 63 6f 6e 74 61 69 | 6e 65 72 20 75 73 65 72 |a contai|ner user| |000033b0| 20 72 65 66 20 63 6f 6e | 20 28 63 6f 75 6c 64 20 | ref con| (could | |000033c0| 62 65 20 0d 09 09 09 20 | 20 20 61 20 70 6f 69 6e |be .... | a poin| |000033d0| 74 65 72 20 74 6f 20 74 | 68 65 20 6e 65 78 74 20 |ter to t|he next | |000033e0| 61 72 74 69 63 6c 65 20 | 69 66 20 70 61 72 74 20 |article |if part | |000033f0| 0d 09 09 09 20 20 20 6f | 66 20 61 20 6c 69 6e 6b |.... o|f a link| |00003400| 65 64 20 6c 69 73 74 29 | 0d 2d 2d 2d 2d 2d 2d 2d |ed list)|.-------| |00003410| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------| |00003420| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------| |00003430| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------| |00003440| 2d 2d 2d 0d 6c 6f 6e 67 | 09 4e 75 6d 4f 66 41 72 |---.long|.NumOfAr| |00003450| 74 69 63 6c 65 73 09 2f | 2f 20 6e 75 6d 62 65 72 |ticles./|/ number| |00003460| 20 6f 66 20 61 72 74 69 | 63 6c 65 73 20 69 6e 20 | of arti|cles in | |00003470| 74 68 65 20 6c 69 73 74 | 0d 6c 6f 6e 67 09 48 65 |the list|.long.He| |00003480| 61 64 09 09 09 2f 2f 20 | 62 79 74 65 20 6f 66 66 |ad...// |byte off| |00003490| 73 65 74 20 6f 66 20 74 | 68 65 20 66 69 72 73 74 |set of t|he first| |000034a0| 20 6c 69 73 74 20 69 74 | 65 6d 0d 4e 6f 74 65 73 | list it|em.Notes| |000034b0| 0d 57 68 65 6e 20 74 68 | 65 20 27 41 4c 48 44 27 |.When th|e 'ALHD'| |000034c0| 20 64 61 74 61 20 63 6f | 6e 74 61 69 6e 65 72 20 | data co|ntainer | |000034d0| 69 73 20 66 6f 75 6e 64 | 2c 20 74 68 65 20 55 73 |is found|, the Us| |000034e0| 65 72 52 65 66 43 6f 6e | 20 66 69 65 6c 64 20 6f |erRefCon| field o| |000034f0| 66 20 74 68 65 20 27 41 | 52 54 4c 27 20 64 61 74 |f the 'A|RTL' dat| |00003500| 61 20 63 6f 6e 74 61 69 | 6e 65 72 20 74 68 61 74 |a contai|ner that| |00003510| 20 66 6f 6c 6c 6f 77 73 | 20 70 6f 69 6e 74 73 20 | follows| points | |00003520| 74 6f 20 74 68 65 20 6e | 65 78 74 20 61 72 74 69 |to the n|ext arti| |00003530| 63 6c 65 20 69 6e 20 74 | 68 65 20 6c 69 6e 6b 65 |cle in t|he linke| |00003540| 64 20 6c 69 73 74 2e 20 | 54 68 69 73 20 70 6f 69 |d list. |This poi| |00003550| 6e 74 65 72 20 69 73 20 | 61 20 62 79 74 65 20 6f |nter is |a byte o| |00003560| 66 66 73 65 74 20 74 6f | 20 74 68 65 20 6e 65 78 |ffset to| the nex| |00003570| 74 20 61 72 74 69 63 6c | 65 20 64 61 74 61 20 63 |t articl|e data c| |00003580| 6f 6e 74 61 69 6e 65 72 | 2e 0d 49 66 20 61 6e 20 |ontainer|..If an | |00003590| 61 72 74 69 63 6c 65 20 | 6c 69 73 74 20 68 65 61 |article |list hea| |000035a0| 64 65 72 20 28 27 41 4c | 48 44 27 29 20 64 61 74 |der ('AL|HD') dat| |000035b0| 61 20 63 6f 6e 74 61 69 | 6e 65 72 20 75 73 65 73 |a contai|ner uses| |000035c0| 20 74 68 69 73 20 62 79 | 74 65 20 6f 66 66 73 65 | this by|te offse| |000035d0| 74 20 74 6f 20 70 6f 69 | 6e 74 20 74 6f 20 74 68 |t to poi|nt to th| |000035e0| 65 20 6e 65 78 74 20 61 | 72 74 69 63 6c 65 20 69 |e next a|rticle i| |000035f0| 6e 20 61 20 6c 69 73 74 | 20 61 6e 64 20 69 74 20 |n a list| and it | |00003600| 69 73 20 63 6f 6d 70 72 | 65 73 73 65 64 20 75 73 |is compr|essed us| |00003610| 69 6e 67 20 74 68 65 20 | 63 6f 6d 70 72 65 73 73 |ing the |compress| |00003620| 65 64 20 28 27 43 4f 4d | 50 27 29 20 64 61 74 61 |ed ('COM|P') data| |00003630| 20 63 6f 6e 74 61 69 6e | 65 72 2c 20 74 68 65 6e | contain|er, then| |00003640| 20 74 68 61 74 20 62 79 | 74 65 20 6f 66 66 73 65 | that by|te offse| |00003650| 74 20 77 69 6c 6c 20 6e | 6f 20 6c 6f 6e 67 65 72 |t will n|o longer| |00003660| 20 62 65 20 76 61 6c 69 | 64 2c 20 73 69 6e 63 65 | be vali|d, since| |00003670| 20 63 6f 6d 70 72 65 73 | 73 69 6e 67 20 61 20 64 | compres|sing a d| |00003680| 61 74 61 20 63 6f 6e 74 | 61 69 6e 65 72 20 63 68 |ata cont|ainer ch| |00003690| 61 6e 67 65 73 20 69 74 | 73 20 73 69 7a 65 2e 0d |anges it|s size..| |000036a0| 46 72 65 65 0d 41 53 55 | 44 43 54 79 70 65 46 72 |Free.ASU|DCTypeFr| |000036b0| 65 65 20 28 27 46 52 45 | 45 27 29 0d 54 68 69 73 |ee ('FRE|E').This| |000036c0| 20 73 74 61 6e 64 61 72 | 64 20 64 61 74 61 20 63 | standar|d data c| |000036d0| 6f 6e 74 61 69 6e 65 72 | 20 74 79 70 65 20 69 73 |ontainer| type is| |000036e0| 20 75 73 65 64 20 74 6f | 20 69 6e 64 69 63 61 74 | used to| indicat| |000036f0| 65 20 74 68 61 74 20 74 | 68 65 20 64 61 74 61 20 |e that t|he data | |00003700| 63 6f 6e 74 61 69 6e 65 | 72 20 69 73 20 6e 6f 20 |containe|r is no | |00003710| 6c 6f 6e 67 65 72 20 75 | 73 65 64 20 61 6e 64 20 |longer u|sed and | |00003720| 63 61 6e 20 62 65 20 70 | 75 72 67 65 64 2e 20 54 |can be p|urged. T| |00003730| 68 65 20 75 70 64 61 74 | 65 20 75 74 69 6c 69 74 |he updat|e utilit| |00003740| 79 20 72 6f 75 74 69 6e | 65 73 20 73 65 74 20 61 |y routin|es set a| |00003750| 20 64 61 74 61 20 63 6f | 6e 74 61 69 6e 65 72 d5 | data co|ntainer.| |00003760| 73 20 74 79 70 65 20 74 | 6f 20 27 46 52 45 45 27 |s type t|o 'FREE'| |00003770| 20 77 68 65 6e 20 41 53 | 55 44 65 6c 65 74 65 44 | when AS|UDeleteD| |00003780| 61 74 61 43 6f 6e 74 61 | 69 6e 65 72 28 29 20 69 |ataConta|iner() i| |00003790| 73 20 63 61 6c 6c 65 64 | 2e 0d 54 68 65 20 63 6f |s called|..The co| |000037a0| 6e 73 74 61 6e 74 73 20 | 66 6f 72 20 74 68 69 73 |nstants |for this| |000037b0| 20 64 61 74 61 20 63 6f | 6e 74 61 69 6e 65 72 20 | data co|ntainer | |000037c0| 74 79 70 65 20 61 72 65 | 20 64 65 66 69 6e 65 64 |type are| defined| |000037d0| 20 69 6e 20 74 68 65 20 | 41 53 55 43 6f 6e 73 74 | in the |ASUConst| |000037e0| 61 6e 74 73 2e 68 20 66 | 69 6c 65 2e 0d 46 6f 72 |ants.h f|ile..For| |000037f0| 6d 61 74 0d 54 68 65 20 | 69 6e 66 6f 72 6d 61 74 |mat.The |informat| |00003800| 69 6f 6e 20 61 62 6f 76 | 65 20 74 68 65 20 62 72 |ion abov|e the br| |00003810| 6f 6b 65 6e 20 6c 69 6e | 65 20 69 73 20 74 68 65 |oken lin|e is the| |00003820| 20 64 61 74 61 20 63 6f | 6e 74 61 69 6e 65 72 20 | data co|ntainer | |00003830| 68 65 61 64 65 72 2e 20 | 54 68 65 20 69 6e 66 6f |header. |The info| |00003840| 72 6d 61 74 69 6f 6e 20 | 62 65 6c 6f 77 20 74 68 |rmation |below th| |00003850| 65 20 62 72 6f 6b 65 6e | 20 6c 69 6e 65 20 69 73 |e broken| line is| |00003860| 20 74 68 65 20 64 61 74 | 61 20 63 6f 6e 74 61 69 | the dat|a contai| |00003870| 6e 65 72 20 64 61 74 61 | 2e 0d 6c 6f 6e 67 09 56 |ner data|..long.V| |00003880| 41 52 49 41 42 4c 45 09 | 2f 2f 20 73 69 7a 65 20 |ARIABLE.|// size | |00003890| 6f 66 20 74 68 65 20 64 | 61 74 61 20 73 65 63 74 |of the d|ata sect| |000038a0| 69 6f 6e 20 66 72 6f 6d | 20 74 68 65 20 0d 09 09 |ion from| the ...| |000038b0| 09 20 20 20 70 72 69 6f | 72 20 68 65 61 64 65 72 |. prio|r header| |000038c0| 0d 6c 6f 6e 67 09 27 46 | 52 45 45 27 09 2f 2f 20 |.long.'F|REE'.// | |000038d0| 64 61 74 61 20 63 6f 6e | 74 61 69 6e 65 72 20 74 |data con|tainer t| |000038e0| 79 70 65 20 41 53 55 44 | 43 54 79 70 65 46 72 65 |ype ASUD|CTypeFre| |000038f0| 65 0d 6c 6f 6e 67 09 56 | 41 52 49 41 42 4c 45 09 |e.long.V|ARIABLE.| |00003900| 2f 2f 20 64 61 74 61 20 | 63 6f 6e 74 61 69 6e 65 |// data |containe| |00003910| 72 20 69 64 20 66 72 6f | 6d 20 70 72 69 6f 72 20 |r id fro|m prior | |00003920| 68 65 61 64 65 72 0d 6c | 6f 6e 67 09 56 41 52 49 |header.l|ong.VARI| |00003930| 41 42 4c 45 09 2f 2f 20 | 64 61 74 61 20 63 6f 6e |ABLE.// |data con| |00003940| 74 61 69 6e 65 72 20 75 | 73 65 72 52 65 66 43 6f |tainer u|serRefCo| |00003950| 6e 20 66 72 6f 6d 20 74 | 68 65 20 0d 09 09 09 20 |n from t|he .... | |00003960| 20 20 70 72 69 6f 72 20 | 68 65 61 64 65 72 0d 2d | prior |header.-| |00003970| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------| |00003980| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------| |00003990| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------| |000039a0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 0d 42 79 74 65 73 5b |--------|-.Bytes[| |000039b0| 5d 20 09 09 2f 2f 20 6f | 6c 64 20 64 61 74 61 0d |] ..// o|ld data.| |000039c0| 43 6f 6d 70 72 65 73 73 | 65 64 0d 41 53 55 44 43 |Compress|ed.ASUDC| |000039d0| 54 79 70 65 43 6f 6d 70 | 72 65 73 73 65 64 20 28 |TypeComp|ressed (| |000039e0| 27 43 4f 4d 50 27 29 0d | 54 68 65 20 69 6e 69 74 |'COMP').|The init| |000039f0| 69 61 6c 20 76 65 72 73 | 69 6f 6e 20 6f 66 20 74 |ial vers|ion of t| |00003a00| 68 69 73 20 64 65 76 65 | 6c 6f 70 65 72 d5 73 20 |his deve|loper.s | |00003a10| 6b 69 74 20 64 6f 65 73 | 20 6e 6f 74 20 70 72 6f |kit does| not pro| |00003a20| 76 69 64 65 20 75 74 69 | 6c 69 74 79 20 72 6f 75 |vide uti|lity rou| |00003a30| 74 69 6e 65 73 20 0d 74 | 6f 20 77 6f 72 6b 20 77 |tines .t|o work w| |00003a40| 69 74 68 20 63 6f 6d 70 | 72 65 73 73 65 64 20 64 |ith comp|ressed d| |00003a50| 61 74 61 20 63 6f 6e 74 | 61 69 6e 65 72 73 3b 20 |ata cont|ainers; | |00003a60| 68 6f 77 65 76 65 72 2c | 20 74 68 69 73 20 74 79 |however,| this ty| |00003a70| 70 65 20 69 73 20 64 65 | 66 69 6e 65 64 20 66 6f |pe is de|fined fo| |00003a80| 72 20 66 75 74 75 72 65 | 20 75 73 65 2e 0d 54 68 |r future| use..Th| |00003a90| 65 20 63 6f 6e 73 74 61 | 6e 74 73 20 66 6f 72 20 |e consta|nts for | |00003aa0| 74 68 69 73 20 64 61 74 | 61 20 63 6f 6e 74 61 69 |this dat|a contai| |00003ab0| 6e 65 72 20 74 79 70 65 | 20 61 72 65 20 64 65 66 |ner type| are def| |00003ac0| 69 6e 65 64 20 69 6e 20 | 74 68 65 20 41 53 55 43 |ined in |the ASUC| |00003ad0| 6f 6e 73 74 61 6e 74 73 | 2e 68 20 66 69 6c 65 2e |onstants|.h file.| |00003ae0| 0d 46 6f 72 6d 61 74 0d | 54 68 65 20 69 6e 66 6f |.Format.|The info| |00003af0| 72 6d 61 74 69 6f 6e 20 | 61 62 6f 76 65 20 74 68 |rmation |above th| |00003b00| 65 20 62 72 6f 6b 65 6e | 20 6c 69 6e 65 20 69 73 |e broken| line is| |00003b10| 20 74 68 65 20 64 61 74 | 61 20 63 6f 6e 74 61 69 | the dat|a contai| |00003b20| 6e 65 72 20 68 65 61 64 | 65 72 2e 20 54 68 65 20 |ner head|er. The | |00003b30| 69 6e 66 6f 72 6d 61 74 | 69 6f 6e 20 62 65 6c 6f |informat|ion belo| |00003b40| 77 20 74 68 65 20 62 72 | 6f 6b 65 6e 20 6c 69 6e |w the br|oken lin| |00003b50| 65 20 69 73 20 74 68 65 | 20 64 61 74 61 20 63 6f |e is the| data co| |00003b60| 6e 74 61 69 6e 65 72 20 | 64 61 74 61 2e 0d 6c 6f |ntainer |data..lo| |00003b70| 6e 67 09 56 41 52 49 41 | 42 4c 45 09 2f 2f 20 73 |ng.VARIA|BLE.// s| |00003b80| 69 7a 65 20 6f 66 20 63 | 6f 6d 70 72 65 73 73 65 |ize of c|ompresse| |00003b90| 64 20 64 61 74 61 0d 6c | 6f 6e 67 09 27 43 4f 4d |d data.l|ong.'COM| |00003ba0| 50 27 09 2f 2f 20 64 61 | 74 61 20 63 6f 6e 74 61 |P'.// da|ta conta| |00003bb0| 69 6e 65 72 20 74 79 70 | 65 20 41 53 55 44 43 54 |iner typ|e ASUDCT| |00003bc0| 79 70 65 43 6f 6d 70 72 | 65 73 73 65 64 0d 6c 6f |ypeCompr|essed.lo| |00003bd0| 6e 67 09 56 41 52 49 41 | 42 4c 45 09 2f 2f 20 64 |ng.VARIA|BLE.// d| |00003be0| 61 74 61 20 63 6f 6e 74 | 61 69 6e 65 72 20 69 64 |ata cont|ainer id| |00003bf0| 20 66 72 6f 6d 20 70 72 | 69 6f 72 20 68 65 61 64 | from pr|ior head| |00003c00| 65 72 0d 6c 6f 6e 67 09 | 56 41 52 49 41 42 4c 45 |er.long.|VARIABLE| |00003c10| 09 2f 2f 20 64 61 74 61 | 20 63 6f 6e 74 61 69 6e |.// data| contain| |00003c20| 65 72 20 75 73 65 72 52 | 65 66 43 6f 6e 20 66 72 |er userR|efCon fr| |00003c30| 6f 6d 20 70 72 69 6f 72 | 20 0d 09 09 09 20 20 20 |om prior| .... | |00003c40| 68 65 61 64 65 72 0d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |header.-|--------| |00003c50| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------| |00003c60| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------| |00003c70| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------| |00003c80| 2d 0d 6c 6f 6e 67 09 56 | 41 52 49 41 42 4c 45 09 |-.long.V|ARIABLE.| |00003c90| 2f 2f 20 74 68 65 20 6f | 72 69 67 69 6e 61 6c 20 |// the o|riginal | |00003ca0| 64 61 74 61 20 63 6f 6e | 74 61 69 6e 65 72 20 74 |data con|tainer t| |00003cb0| 79 70 65 0d 6c 6f 6e 67 | 09 56 41 52 49 41 42 4c |ype.long|.VARIABL| |00003cc0| 45 09 2f 2f 20 74 68 65 | 20 6f 72 69 67 69 6e 61 |E.// the| origina| |00003cd0| 6c 20 64 61 74 61 20 73 | 69 7a 65 0d 6c 6f 6e 67 |l data s|ize.long| |00003ce0| 09 56 41 52 49 41 42 4c | 45 09 2f 2f 20 63 6f 6d |.VARIABL|E.// com| |00003cf0| 70 72 65 73 73 69 6f 6e | 20 75 73 65 64 0d 64 61 |pression| used.da| |00003d00| 74 61 09 09 09 2f 2f 20 | 61 63 74 75 61 6c 20 64 |ta...// |actual d| |00003d10| 61 74 61 20 28 63 6f 6d | 70 72 65 73 73 65 64 29 |ata (com|pressed)| |00003d20| 0d 4e 6f 74 65 0d 49 66 | 20 61 6e 20 61 72 74 69 |.Note.If| an arti| |00003d30| 63 6c 65 20 6c 69 73 74 | 20 68 65 61 64 65 72 20 |cle list| header | |00003d40| 28 27 41 4c 48 44 27 29 | 20 64 61 74 61 20 63 6f |('ALHD')| data co| |00003d50| 6e 74 61 69 6e 65 72 20 | 75 73 65 73 20 61 20 62 |ntainer |uses a b| |00003d60| 79 74 65 20 6f 66 66 73 | 65 74 20 74 6f 20 70 6f |yte offs|et to po| |00003d70| 69 6e 74 20 74 6f 20 74 | 68 65 20 6e 65 78 74 20 |int to t|he next | |00003d80| 61 72 74 69 63 6c 65 20 | 69 6e 20 61 20 6c 69 73 |article |in a lis| |00003d90| 74 20 61 6e 64 20 69 74 | 20 69 73 20 63 6f 6d 70 |t and it| is comp| |00003da0| 72 65 73 73 65 64 20 75 | 73 69 6e 67 20 74 68 65 |ressed u|sing the| |00003db0| 20 63 6f 6d 70 72 65 73 | 73 65 64 20 28 27 43 4f | compres|sed ('CO| |00003dc0| 4d 50 27 29 20 64 61 74 | 61 20 63 6f 6e 74 61 69 |MP') dat|a contai| |00003dd0| 6e 65 72 2c 20 74 68 65 | 6e 20 74 68 61 74 20 62 |ner, the|n that b| |00003de0| 79 74 65 20 6f 66 66 73 | 65 74 20 77 69 6c 6c 20 |yte offs|et will | |00003df0| 6e 6f 20 6c 6f 6e 67 65 | 72 20 62 65 20 76 61 6c |no longe|r be val| |00003e00| 69 64 2c 20 73 69 6e 63 | 65 20 63 6f 6d 70 72 65 |id, sinc|e compre| |00003e10| 73 73 69 6e 67 20 61 20 | 64 61 74 61 20 63 6f 6e |ssing a |data con| |00003e20| 74 61 69 6e 65 72 20 63 | 68 61 6e 67 65 73 20 69 |tainer c|hanges i| |00003e30| 74 73 20 73 69 7a 65 2e | 0d 0d 32 09 41 72 74 69 |ts size.|..2.Arti| |00003e40| 63 6c 65 73 0d 41 20 74 | 79 70 69 63 61 6c 20 75 |cles.A t|ypical u| |00003e50| 70 64 61 74 65 20 66 69 | 6c 65 20 63 6f 6e 73 69 |pdate fi|le consi| |00003e60| 73 74 73 20 6f 66 20 61 | 20 73 65 74 20 6f 66 20 |sts of a| set of | |00003e70| 64 61 74 61 20 63 6f 6e | 74 61 69 6e 65 72 73 20 |data con|tainers | |00003e80| 6f 66 20 74 68 65 20 74 | 79 70 65 20 61 72 74 69 |of the t|ype arti| |00003e90| 63 6c 65 20 28 27 41 52 | 54 4c 27 29 2e 20 41 6e |cle ('AR|TL'). An| |00003ea0| 20 61 72 74 69 63 6c 65 | 20 69 73 20 64 61 74 61 | article| is data| |00003eb0| 20 74 68 61 74 20 68 61 | 73 20 62 65 65 6e 20 67 | that ha|s been g| |00003ec0| 61 74 68 65 72 65 64 20 | 62 79 20 61 6e 20 41 70 |athered |by an Ap| |00003ed0| 70 6c 65 53 65 61 72 63 | 68 20 52 65 70 6f 72 74 |pleSearc|h Report| |00003ee0| 65 72 2e 20 41 20 74 69 | 74 6c 65 2c 20 64 61 74 |er. A ti|tle, dat| |00003ef0| 65 2c 20 61 6e 64 20 73 | 6f 75 72 63 65 20 61 72 |e, and s|ource ar| |00003f00| 65 20 61 73 73 6f 63 69 | 61 74 65 64 20 77 69 74 |e associ|ated wit| |00003f10| 68 20 65 61 63 68 20 61 | 72 74 69 63 6c 65 2e 20 |h each a|rticle. | |00003f20| 54 68 65 20 64 61 74 61 | 20 73 74 72 75 63 74 75 |The data| structu| |00003f30| 72 65 20 6f 66 20 74 68 | 65 20 61 72 74 69 63 6c |re of th|e articl| |00003f40| 65 20 64 61 74 61 20 63 | 6f 6e 74 61 69 6e 65 72 |e data c|ontainer| |00003f50| 20 74 79 70 65 20 69 73 | 20 64 65 73 69 67 6e 65 | type is| designe| |00003f60| 64 20 74 6f 20 65 6e 73 | 75 72 65 20 63 6f 6d 70 |d to ens|ure comp| |00003f70| 61 74 69 62 69 6c 69 74 | 79 20 61 6d 6f 6e 67 20 |atibilit|y among | |00003f80| 61 70 70 6c 69 63 61 74 | 69 6f 6e 73 2e 0d 54 68 |applicat|ions..Th| |00003f90| 65 20 69 6e 69 74 69 61 | 6c 20 72 65 6c 65 61 73 |e initia|l releas| |00003fa0| 65 20 6f 66 20 74 68 65 | 20 41 70 70 6c 65 53 65 |e of the| AppleSe| |00003fb0| 61 72 63 68 20 63 6c 69 | 65 6e 74 20 63 61 6e 20 |arch cli|ent can | |00003fc0| 72 65 61 64 20 61 6e 64 | 20 77 72 69 74 65 20 6f |read and| write o| |00003fd0| 6e 6c 79 20 74 65 78 74 | 20 61 72 74 69 63 6c 65 |nly text| article| |00003fe0| 73 20 28 61 72 74 69 63 | 6c 65 20 74 79 70 65 20 |s (artic|le type | |00003ff0| 27 54 45 58 54 27 29 2e | 20 59 6f 75 72 20 63 75 |'TEXT').| Your cu| |00004000| 73 74 6f 6d 20 61 70 70 | 6c 69 63 61 74 69 6f 6e |stom app|lication| |00004010| 2c 20 68 6f 77 65 76 65 | 72 2c 20 63 61 6e 20 73 |, howeve|r, can s| |00004020| 75 70 70 6f 72 74 20 6f | 74 68 65 72 20 64 61 74 |upport o|ther dat| |00004030| 61 20 74 79 70 65 73 20 | 77 68 69 6c 65 20 6d 61 |a types |while ma| |00004040| 69 6e 74 61 69 6e 69 6e | 67 20 63 6f 6d 70 61 74 |intainin|g compat| |00004050| 69 62 69 6c 69 74 79 2e | 0d 46 6f 72 6d 61 74 0d |ibility.|.Format.| |00004060| 54 68 65 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 20 |The info|rmation | |00004070| 61 62 6f 76 65 20 74 68 | 65 20 62 72 6f 6b 65 6e |above th|e broken| |00004080| 20 6c 69 6e 65 20 69 73 | 20 74 68 65 20 73 74 61 | line is| the sta| |00004090| 6e 64 61 72 64 20 64 61 | 74 61 20 63 6f 6e 74 61 |ndard da|ta conta| |000040a0| 69 6e 65 72 20 68 65 61 | 64 65 72 2e 20 54 68 65 |iner hea|der. The| |000040b0| 20 69 6e 66 6f 72 6d 61 | 74 69 6f 6e 20 62 65 6c | informa|tion bel| |000040c0| 6f 77 20 74 68 65 20 62 | 72 6f 6b 65 6e 20 6c 69 |ow the b|roken li| |000040d0| 6e 65 20 69 73 20 74 68 | 65 20 64 61 74 61 20 63 |ne is th|e data c| |000040e0| 6f 6e 74 61 69 6e 65 72 | 20 64 61 74 61 20 74 68 |ontainer| data th| |000040f0| 61 74 20 64 65 73 63 72 | 69 62 65 73 20 61 6e 20 |at descr|ibes an | |00004100| 61 72 74 69 63 6c 65 20 | 61 6e 64 20 63 6f 6e 74 |article |and cont| |00004110| 61 69 6e 73 20 69 74 73 | 20 64 61 74 61 2e 0d 6c |ains its| data..l| |00004120| 6f 6e 67 09 56 41 52 49 | 41 42 4c 45 09 2f 2f 20 |ong.VARI|ABLE.// | |00004130| 73 69 7a 65 20 6f 66 20 | 74 68 65 20 64 61 74 61 |size of |the data| |00004140| 20 73 65 63 74 69 6f 6e | 0d 6c 6f 6e 67 09 27 41 | section|.long.'A| |00004150| 52 54 4c 27 09 2f 2f 20 | 64 61 74 61 20 63 6f 6e |RTL'.// |data con| |00004160| 74 61 69 6e 65 72 20 74 | 79 70 65 20 41 53 55 44 |tainer t|ype ASUD| |00004170| 43 54 79 70 65 41 72 74 | 69 63 6c 65 0d 6c 6f 6e |CTypeArt|icle.lon| |00004180| 67 09 30 09 09 2f 2f 20 | 64 61 74 61 20 63 6f 6e |g.0..// |data con| |00004190| 74 61 69 6e 65 72 20 69 | 64 20 2d 20 6e 6f 74 20 |tainer i|d - not | |000041a0| 75 73 65 64 0d 6c 6f 6e | 67 09 30 09 09 2f 2f 20 |used.lon|g.0..// | |000041b0| 64 61 74 61 20 63 6f 6e | 74 61 69 6e 65 72 20 75 |data con|tainer u| |000041c0| 73 65 72 20 72 65 66 20 | 63 6f 6e 0d 2d 2d 2d 2d |ser ref |con.----| |000041d0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------| |000041e0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------| |000041f0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------| |00004200| 2d 2d 2d 2d 2d 2d 0d 6c | 6f 6e 67 09 41 72 74 69 |------.l|ong.Arti| |00004210| 63 6c 65 48 65 61 64 65 | 72 53 69 7a 65 09 2f 2f |cleHeade|rSize.//| |00004220| 20 73 69 7a 65 20 6f 66 | 20 74 68 65 20 61 72 74 | size of| the art| |00004230| 69 63 6c 65 20 68 65 61 | 64 65 72 0d 6c 6f 6e 67 |icle hea|der.long| |00004240| 09 41 72 74 69 63 6c 65 | 44 61 74 61 53 69 7a 65 |.Article|DataSize| |00004250| 20 09 2f 2f 20 73 69 7a | 65 20 6f 66 20 61 72 74 | .// siz|e of art| |00004260| 69 63 6c 65 20 64 61 74 | 61 0d 6c 6f 6e 67 09 41 |icle dat|a.long.A| |00004270| 72 74 69 63 6c 65 54 79 | 70 65 20 09 09 2f 2f 20 |rticleTy|pe ..// | |00004280| 61 72 74 69 63 6c 65 20 | 74 79 70 65 2c 20 73 75 |article |type, su| |00004290| 63 68 20 61 73 20 27 54 | 45 58 54 27 2e 20 0d 41 |ch as 'T|EXT'. .A| |000042a0| 53 55 41 72 74 69 63 6c | 65 44 61 74 65 0d 09 41 |SUArticl|eDate..A| |000042b0| 72 74 69 63 6c 65 44 61 | 74 65 54 69 6d 65 09 09 |rticleDa|teTime..| |000042c0| 2f 2f 20 64 61 74 65 20 | 61 6e 64 20 74 69 6d 65 |// date |and time| |000042d0| 20 6f 66 20 74 68 69 73 | 20 61 72 74 69 63 6c 65 | of this| article| |000042e0| 0d 6c 6f 6e 67 09 55 73 | 65 72 42 79 74 65 73 09 |.long.Us|erBytes.| |000042f0| 09 09 2f 2f 20 61 70 70 | 6c 69 63 61 74 69 6f 6e |..// app|lication| |00004300| 2d 73 70 65 63 69 66 69 | 63 20 64 61 74 61 0d 43 |-specifi|c data.C| |00004310| 53 74 72 69 6e 67 0d 09 | 41 72 74 69 63 6c 65 54 |String..|ArticleT| |00004320| 69 74 6c 65 09 09 2f 2f | 20 74 69 74 6c 65 20 6f |itle..//| title o| |00004330| 66 20 74 68 65 20 61 72 | 74 69 63 6c 65 0d 43 53 |f the ar|ticle.CS| |00004340| 74 72 69 6e 67 0d 09 41 | 72 74 69 63 6c 65 53 6f |tring..A|rticleSo| |00004350| 75 72 63 65 09 09 2f 2f | 20 73 6f 75 72 63 65 20 |urce..//| source | |00004360| 6f 66 20 74 68 65 20 61 | 72 74 69 63 6c 65 0d 62 |of the a|rticle.b| |00004370| 79 74 65 73 5b 5d 0d 09 | 64 61 74 61 09 09 09 09 |ytes[]..|data....| |00004380| 2f 2f 20 61 63 74 75 61 | 6c 20 64 61 74 61 0d 4e |// actua|l data.N| |00004390| 6f 74 65 73 0d 41 6e 20 | 61 72 74 69 63 6c 65 20 |otes.An |article | |000043a0| 69 73 20 63 6f 6e 74 61 | 69 6e 65 64 20 69 6e 20 |is conta|ined in | |000043b0| 74 68 65 20 64 61 74 61 | 20 73 65 63 74 69 6f 6e |the data| section| |000043c0| 20 6f 66 20 74 68 65 20 | 64 61 74 61 20 63 6f 6e | of the |data con| |000043d0| 74 61 69 6e 65 72 2e 20 | 54 68 65 20 61 72 74 69 |tainer. |The arti| |000043e0| 63 6c 65 20 69 73 20 63 | 6f 6d 70 6f 73 65 64 20 |cle is c|omposed | |000043f0| 6f 66 20 61 6e 20 61 72 | 74 69 63 6c 65 20 68 65 |of an ar|ticle he| |00004400| 61 64 65 72 20 61 6e 64 | 20 74 68 65 20 64 61 74 |ader and| the dat| |00004410| 61 20 69 74 73 65 6c 66 | 2e 20 54 68 65 20 61 72 |a itself|. The ar| |00004420| 74 69 63 6c 65 20 68 65 | 61 64 65 72 20 73 65 63 |ticle he|ader sec| |00004430| 74 69 6f 6e 20 63 6f 6e | 74 61 69 6e 73 20 74 68 |tion con|tains th| |00004440| 65 20 61 72 74 69 63 6c | 65 d5 73 20 73 69 7a 65 |e articl|e.s size| |00004450| 2c 20 74 79 70 65 2c 20 | 64 61 74 65 20 61 6e 64 |, type, |date and| |00004460| 20 74 69 6d 65 2c 20 74 | 69 74 6c 65 2c 20 61 6e | time, t|itle, an| |00004470| 64 20 73 6f 75 72 63 65 | 2e 20 54 68 65 20 61 72 |d source|. The ar| |00004480| 74 69 63 6c 65 20 64 61 | 74 61 20 73 65 63 74 69 |ticle da|ta secti| |00004490| 6f 6e 20 63 6f 6e 74 61 | 69 6e 73 20 74 68 65 20 |on conta|ins the | |000044a0| 61 63 74 75 61 6c 20 61 | 72 74 69 63 6c 65 2e 20 |actual a|rticle. | |000044b0| 28 54 68 69 73 20 76 65 | 72 73 69 6f 6e 20 6f 66 |(This ve|rsion of| |000044c0| 20 41 70 70 6c 65 53 65 | 61 72 63 68 20 63 61 6e | AppleSe|arch can| |000044d0| 20 72 65 61 64 20 61 6e | 64 20 64 69 73 70 6c 61 | read an|d displa| |000044e0| 79 20 74 65 78 74 20 61 | 72 74 69 63 6c 65 73 20 |y text a|rticles | |000044f0| 6f 6e 6c 79 2c 20 61 6c | 74 68 6f 75 67 68 20 6f |only, al|though o| |00004500| 74 68 65 72 20 74 79 70 | 65 73 d1 73 75 63 68 20 |ther typ|es.such | |00004510| 61 73 20 61 6e 20 69 6d | 61 67 65 d1 63 61 6e 20 |as an im|age.can | |00004520| 62 65 20 61 64 64 65 64 | 20 74 6f 20 61 6e 20 75 |be added| to an u| |00004530| 70 64 61 74 65 20 69 66 | 20 79 6f 75 72 20 61 70 |pdate if| your ap| |00004540| 70 6c 69 63 61 74 69 6f | 6e 20 63 68 6f 6f 73 65 |plicatio|n choose| |00004550| 73 20 74 6f 20 73 75 70 | 70 6f 72 74 20 74 68 65 |s to sup|port the| |00004560| 6d 2e 29 0d 41 72 74 69 | 63 6c 65 20 68 65 61 64 |m.).Arti|cle head| |00004570| 65 72 0d 54 68 65 20 61 | 72 74 69 63 6c 65 20 68 |er.The a|rticle h| |00004580| 65 61 64 65 72 20 69 73 | 20 64 65 66 69 6e 65 64 |eader is| defined| |00004590| 20 69 6e 20 74 68 65 20 | 41 53 55 41 72 74 69 63 | in the |ASUArtic| |000045a0| 6c 65 2e 68 20 66 69 6c | 65 20 61 6e 64 20 63 6f |le.h fil|e and co| |000045b0| 6e 74 61 69 6e 73 20 74 | 68 65 20 66 6f 6c 6c 6f |ntains t|he follo| |000045c0| 77 69 6e 67 20 73 65 76 | 65 6e 20 66 69 65 6c 64 |wing sev|en field| |000045d0| 73 3a 0d 41 72 74 69 63 | 6c 65 48 65 61 64 65 72 |s:.Artic|leHeader| |000045e0| 53 69 7a 65 0d 54 68 69 | 73 20 66 69 65 6c 64 20 |Size.Thi|s field | |000045f0| 69 6e 64 69 63 61 74 65 | 73 20 74 68 65 20 73 69 |indicate|s the si| |00004600| 7a 65 20 6f 66 20 74 68 | 65 20 61 72 74 69 63 6c |ze of th|e articl| |00004610| 65 d5 73 20 68 65 61 64 | 65 72 2c 20 77 68 69 63 |e.s head|er, whic| |00004620| 68 20 69 6e 63 6c 75 64 | 65 73 20 41 72 74 69 63 |h includ|es Artic| |00004630| 6c 65 48 65 61 64 65 72 | 53 69 7a 65 2c 20 41 72 |leHeader|Size, Ar| |00004640| 74 69 63 6c 65 44 61 74 | 61 53 69 7a 65 2c 20 41 |ticleDat|aSize, A| |00004650| 72 74 69 63 6c 65 54 79 | 70 65 2c 20 41 72 74 69 |rticleTy|pe, Arti| |00004660| 63 6c 65 44 61 74 65 54 | 69 6d 65 2c 20 55 73 65 |cleDateT|ime, Use| |00004670| 72 42 79 74 65 73 2c 20 | 41 72 74 69 63 6c 65 54 |rBytes, |ArticleT| |00004680| 69 74 6c 65 2c 20 61 6e | 64 20 41 72 74 69 63 6c |itle, an|d Articl| |00004690| 65 53 6f 75 72 63 65 2e | 20 54 68 69 73 20 6e 75 |eSource.| This nu| |000046a0| 6d 62 65 72 20 63 68 61 | 6e 67 65 73 20 64 65 70 |mber cha|nges dep| |000046b0| 65 6e 64 69 6e 67 20 6f | 6e 20 74 68 65 20 6c 65 |ending o|n the le| |000046c0| 6e 67 74 68 73 20 6f 66 | 20 41 72 74 69 63 6c 65 |ngths of| Article| |000046d0| 54 69 74 6c 65 20 61 6e | 64 20 41 72 74 69 63 6c |Title an|d Articl| |000046e0| 65 53 6f 75 72 63 65 20 | 73 74 72 69 6e 67 73 2e |eSource |strings.| |000046f0| 0d 41 72 74 69 63 6c 65 | 44 61 74 61 53 69 7a 65 |.Article|DataSize| |00004700| 0d 54 68 69 73 20 66 69 | 65 6c 64 20 69 6e 64 69 |.This fi|eld indi| |00004710| 63 61 74 65 73 20 74 68 | 65 20 73 69 7a 65 20 6f |cates th|e size o| |00004720| 66 20 74 68 65 20 61 72 | 74 69 63 6c 65 d5 73 20 |f the ar|ticle.s | |00004730| 61 63 74 75 61 6c 20 64 | 61 74 61 2e 0d 41 72 74 |actual d|ata..Art| |00004740| 69 63 6c 65 54 79 70 65 | 09 54 68 69 73 20 66 69 |icleType|.This fi| |00004750| 65 6c 64 20 73 70 65 63 | 69 66 69 65 73 20 74 68 |eld spec|ifies th| |00004760| 65 20 61 72 74 69 63 6c | 65 20 74 79 70 65 2e 20 |e articl|e type. | |00004770| 46 6f 72 20 65 78 61 6d | 70 6c 65 2c 20 27 54 45 |For exam|ple, 'TE| |00004780| 58 54 27 20 28 6b 54 65 | 78 74 41 72 74 69 63 6c |XT' (kTe|xtArticl| |00004790| 65 49 74 65 6d 29 20 69 | 6e 64 69 63 61 74 65 73 |eItem) i|ndicates| |000047a0| 20 74 68 61 74 20 74 68 | 65 20 61 72 74 69 63 6c | that th|e articl| |000047b0| 65 20 64 61 74 61 20 69 | 6e 20 74 68 65 20 41 72 |e data i|n the Ar| |000047c0| 74 69 63 6c 65 44 61 74 | 61 20 66 69 65 6c 64 20 |ticleDat|a field | |000047d0| 69 73 20 73 69 6d 70 6c | 79 20 61 20 70 61 63 6b |is simpl|y a pack| |000047e0| 65 64 20 61 72 72 61 79 | 20 6f 66 20 41 53 43 49 |ed array| of ASCI| |000047f0| 49 20 63 68 61 72 61 63 | 74 65 72 73 20 74 65 72 |I charac|ters ter| |00004800| 6d 69 6e 61 74 65 64 20 | 62 79 20 61 70 70 72 6f |minated |by appro| |00004810| 70 72 69 61 74 65 20 65 | 6e 64 20 6f 66 20 6c 69 |priate e|nd of li| |00004820| 6e 65 20 63 68 61 72 61 | 63 74 65 72 28 73 29 2e |ne chara|cter(s).| |00004830| 20 49 66 20 69 74 20 69 | 73 20 27 50 49 43 54 27 | If it i|s 'PICT'| |00004840| 20 28 6b 50 49 43 54 41 | 72 74 69 63 6c 65 49 74 | (kPICTA|rticleIt| |00004850| 65 6d 29 2c 20 74 68 65 | 6e 20 74 68 65 20 41 72 |em), the|n the Ar| |00004860| 74 69 63 6c 65 44 61 74 | 61 20 66 69 65 6c 64 20 |ticleDat|a field | |00004870| 63 6f 6e 74 61 69 6e 73 | 20 61 20 50 49 43 54 20 |contains| a PICT | |00004880| 69 6d 61 67 65 2e 20 0d | 09 27 43 4d 50 44 27 20 |image. .|.'CMPD' | |00004890| 28 6b 43 6f 6d 70 6f 75 | 6e 64 41 72 74 69 63 6c |(kCompou|ndArticl| |000048a0| 65 49 74 65 6d 29 20 69 | 73 20 61 20 73 70 65 63 |eItem) i|s a spec| |000048b0| 69 61 6c 20 74 79 70 65 | 20 69 6e 64 69 63 61 74 |ial type| indicat| |000048c0| 69 6e 67 20 74 68 61 74 | 20 74 68 65 20 61 72 74 |ing that| the art| |000048d0| 69 63 6c 65 20 69 73 20 | 61 20 63 6f 6d 70 6f 75 |icle is |a compou| |000048e0| 6e 64 20 61 72 74 69 63 | 6c 65 20 6d 61 64 65 20 |nd artic|le made | |000048f0| 75 70 20 6f 66 20 6d 6f | 72 65 20 74 68 61 6e 20 |up of mo|re than | |00004900| 6f 6e 65 20 64 61 74 61 | 20 65 6c 65 6d 65 6e 74 |one data| element| |00004910| 2e 20 54 68 65 20 63 6f | 6d 70 6f 75 6e 64 20 61 |. The co|mpound a| |00004920| 72 74 69 63 6c 65 20 66 | 6f 72 6d 61 74 20 69 73 |rticle f|ormat is| |00004930| 20 64 65 73 63 72 69 62 | 65 64 20 69 6e 20 6d 6f | describ|ed in mo| |00004940| 72 65 20 64 65 74 61 69 | 6c 20 6c 61 74 65 72 20 |re detai|l later | |00004950| 69 6e 20 74 68 65 20 73 | 65 63 74 69 6f 6e 20 d2 |in the s|ection .| |00004960| 43 6f 6d 70 6f 75 6e 64 | 20 41 72 74 69 63 6c 65 |Compound| Article| |00004970| 73 2e d3 0d 09 41 72 74 | 69 63 6c 65 20 74 79 70 |s....Art|icle typ| |00004980| 65 73 20 61 72 65 20 64 | 65 66 69 6e 65 64 20 69 |es are d|efined i| |00004990| 6e 20 74 68 65 20 6e 65 | 78 74 20 73 65 63 74 69 |n the ne|xt secti| |000049a0| 6f 6e 2c 20 d2 41 72 74 | 69 63 6c 65 20 54 79 70 |on, .Art|icle Typ| |000049b0| 65 20 43 6f 6e 73 74 61 | 6e 74 73 2e d3 0d 09 28 |e Consta|nts....(| |000049c0| 54 68 65 20 41 70 70 6c | 65 53 65 61 72 63 68 20 |The Appl|eSearch | |000049d0| 76 65 72 73 69 6f 6e ca | 31 2e 30 20 63 6c 69 65 |version.|1.0 clie| |000049e0| 6e 74 20 63 61 6e 20 6f | 6e 6c 79 20 72 65 61 64 |nt can o|nly read| |000049f0| 20 61 6e 64 20 64 69 73 | 70 6c 61 79 20 74 65 78 | and dis|play tex| |00004a00| 74 20 61 72 74 69 63 6c | 65 73 2c 20 61 6c 74 68 |t articl|es, alth| |00004a10| 6f 75 67 68 20 6f 74 68 | 65 72 20 61 72 74 69 63 |ough oth|er artic| |00004a20| 6c 65 20 74 79 70 65 73 | 20 63 61 6e 20 62 65 20 |le types| can be | |00004a30| 75 73 65 64 20 62 79 20 | 79 6f 75 72 20 61 70 70 |used by |your app| |00004a40| 6c 69 63 61 74 69 6f 6e | 2e 29 0d 41 72 74 69 63 |lication|.).Artic| |00004a50| 6c 65 44 61 74 65 09 54 | 68 69 73 20 66 69 65 6c |leDate.T|his fiel| |00004a60| 64 20 63 6f 6e 74 61 69 | 6e 73 20 74 68 65 20 61 |d contai|ns the a| |00004a70| 72 74 69 63 6c 65 d5 73 | 20 64 61 74 65 20 61 6e |rticle.s| date an| |00004a80| 64 20 74 69 6d 65 2e 20 | 49 74 20 69 73 20 69 6e |d time. |It is in| |00004a90| 20 74 68 65 20 41 53 55 | 41 72 74 69 63 6c 65 44 | the ASU|ArticleD| |00004aa0| 61 74 65 20 73 74 72 75 | 63 74 75 72 65 20 66 6f |ate stru|cture fo| |00004ab0| 72 6d 61 74 2c 20 77 68 | 69 63 68 20 63 6f 6e 74 |rmat, wh|ich cont| |00004ac0| 61 69 6e 73 20 73 69 78 | 20 73 68 6f 72 74 20 69 |ains six| short i| |00004ad0| 6e 74 65 67 65 72 73 20 | 69 6e 64 69 63 61 74 69 |ntegers |indicati| |00004ae0| 6e 67 20 79 65 61 72 2c | 20 6d 6f 6e 74 68 2c 20 |ng year,| month, | |00004af0| 64 61 79 2c 20 68 6f 75 | 72 2c 20 6d 69 6e 75 74 |day, hou|r, minut| |00004b00| 65 2c 20 61 6e 64 20 73 | 65 63 6f 6e 64 20 61 73 |e, and s|econd as| |00004b10| 20 73 68 6f 77 6e 20 69 | 6e 20 74 68 65 20 66 6f | shown i|n the fo| |00004b20| 6c 6c 6f 77 69 6e 67 20 | 65 78 61 6d 70 6c 65 2e |llowing |example.| |00004b30| 20 54 68 69 73 20 73 74 | 72 75 63 74 75 72 65 20 | This st|ructure | |00004b40| 69 73 20 64 65 66 69 6e | 65 64 20 69 6e 20 74 68 |is defin|ed in th| |00004b50| 65 20 41 53 55 54 79 70 | 65 73 2e 68 20 66 69 6c |e ASUTyp|es.h fil| |00004b60| 65 2e 20 28 4e 6f 74 65 | 20 74 68 61 74 20 73 74 |e. (Note| that st| |00004b70| 72 75 63 74 75 72 65 73 | 20 61 72 65 20 77 6f 72 |ructures| are wor| |00004b80| 64 2d 61 6c 69 67 6e 65 | 64 20 77 68 65 6e 65 76 |d-aligne|d whenev| |00004b90| 65 72 20 70 6f 73 73 69 | 62 6c 65 29 2e 0d 73 74 |er possi|ble)..st| |00004ba0| 72 75 63 74 20 41 53 55 | 41 72 74 69 63 6c 65 44 |ruct ASU|ArticleD| |00004bb0| 61 74 65 20 7b 0d 09 73 | 68 6f 72 74 09 79 65 61 |ate {..s|hort.yea| |00004bc0| 72 3b 09 2f 2f 20 59 59 | 59 59 0d 09 73 68 6f 72 |r;.// YY|YY..shor| |00004bd0| 74 09 6d 6f 6e 74 68 3b | 09 2f 2f 20 31 2d 31 32 |t.month;|.// 1-12| |00004be0| 0d 09 73 68 6f 72 74 09 | 64 61 79 3b 09 09 2f 2f |..short.|day;..//| |00004bf0| 20 31 2d 33 31 0d 09 73 | 68 6f 72 74 09 68 6f 75 | 1-31..s|hort.hou| |00004c00| 72 3b 09 2f 2f 20 30 2d | 32 33 0d 09 73 68 6f 72 |r;.// 0-|23..shor| |00004c10| 74 09 6d 69 6e 75 74 65 | 3b 09 2f 2f 20 30 2d 35 |t.minute|;.// 0-5| |00004c20| 39 0d 09 73 68 6f 72 74 | 09 73 65 63 6f 6e 64 3b |9..short|.second;| |00004c30| 09 2f 2f 20 30 2d 35 39 | 0d 7d 3b 0d 55 73 65 72 |.// 0-59|.};.User| |00004c40| 42 79 74 65 73 09 41 6e | 20 61 70 70 6c 69 63 61 |Bytes.An| applica| |00004c50| 74 69 6f 6e 20 63 61 6e | 20 75 73 65 20 74 68 69 |tion can| use thi| |00004c60| 73 20 66 69 65 6c 64 20 | 66 6f 72 20 61 6e 79 20 |s field |for any | |00004c70| 70 75 72 70 6f 73 65 2e | 0d 41 72 74 69 63 6c 65 |purpose.|.Article| |00004c80| 54 69 74 6c 65 09 54 68 | 69 73 20 66 69 65 6c 64 |Title.Th|is field| |00004c90| 20 69 73 20 61 20 6e 75 | 6c 6c 2d 74 65 72 6d 69 | is a nu|ll-termi| |00004ca0| 6e 61 74 65 64 20 73 74 | 72 69 6e 67 20 74 68 61 |nated st|ring tha| |00004cb0| 74 20 63 6f 6e 74 61 69 | 6e 73 20 74 68 65 20 61 |t contai|ns the a| |00004cc0| 72 74 69 63 6c 65 d5 73 | 20 74 69 74 6c 65 2e 20 |rticle.s| title. | |00004cd0| 41 6c 6c 20 61 72 74 69 | 63 6c 65 73 2c 20 72 65 |All arti|cles, re| |00004ce0| 67 61 72 64 6c 65 73 73 | 20 6f 66 20 74 79 70 65 |gardless| of type| |00004cf0| 2c 20 6d 75 73 74 20 68 | 61 76 65 20 0d 61 20 74 |, must h|ave .a t| |00004d00| 69 74 6c 65 2e 0d 41 72 | 74 69 63 6c 65 53 6f 75 |itle..Ar|ticleSou| |00004d10| 72 63 65 09 54 68 69 73 | 20 66 69 65 6c 64 20 69 |rce.This| field i| |00004d20| 73 20 61 20 6e 75 6c 6c | 2d 74 65 72 6d 69 6e 61 |s a null|-termina| |00004d30| 74 65 64 20 73 74 72 69 | 6e 67 2e 20 49 74 20 63 |ted stri|ng. It c| |00004d40| 6f 6e 74 61 69 6e 73 20 | 74 68 65 20 6e 61 6d 65 |ontains |the name| |00004d50| 20 6f 66 20 74 68 65 20 | 69 6e 66 6f 72 6d 61 74 | of the |informat| |00004d60| 69 6f 6e 20 73 6f 75 72 | 63 65 20 66 72 6f 6d 20 |ion sour|ce from | |00004d70| 77 68 69 63 68 20 74 68 | 69 73 20 61 72 74 69 63 |which th|is artic| |00004d80| 6c 65 20 63 61 6d 65 2e | 20 49 66 20 74 68 65 20 |le came.| If the | |00004d90| 6e 61 6d 65 20 69 73 20 | 6e 6f 74 20 61 76 61 69 |name is |not avai| |00004da0| 6c 61 62 6c 65 2c 20 74 | 68 65 20 66 69 72 73 74 |lable, t|he first| |00004db0| 20 62 79 74 65 20 6f 66 | 20 74 68 65 20 73 74 72 | byte of| the str| |00004dc0| 69 6e 67 20 73 68 6f 75 | 6c 64 20 62 65 20 30 2e |ing shou|ld be 0.| |00004dd0| 0d 41 72 74 69 63 6c 65 | 20 74 79 70 65 20 63 6f |.Article| type co| |00004de0| 6e 73 74 61 6e 74 73 0d | 54 68 65 20 66 6f 6c 6c |nstants.|The foll| |00004df0| 6f 77 69 6e 67 20 63 6f | 6e 73 74 61 6e 74 73 d1 |owing co|nstants.| |00004e00| 64 65 66 69 6e 65 64 20 | 69 6e 20 74 68 65 20 41 |defined |in the A| |00004e10| 53 55 43 6f 6e 73 74 61 | 6e 74 73 2e 68 20 66 69 |SUConsta|nts.h fi| |00004e20| 6c 65 d1 61 72 65 20 74 | 6f 20 62 65 20 75 73 65 |le.are t|o be use| |00004e30| 64 20 69 6e 20 74 68 65 | 20 41 72 74 69 63 6c 65 |d in the| Article| |00004e40| 54 79 70 65 20 66 69 65 | 6c 64 3a 0d 63 6f 6e 73 |Type fie|ld:.cons| |00004e50| 74 20 41 53 55 41 72 74 | 69 63 6c 65 54 79 70 65 |t ASUArt|icleType| |00004e60| 20 6b 54 65 78 74 41 72 | 74 69 63 6c 65 49 74 65 | kTextAr|ticleIte| |00004e70| 6d 20 3d 20 27 54 45 58 | 54 27 3b 0d 63 6f 6e 73 |m = 'TEX|T';.cons| |00004e80| 74 20 41 53 55 41 72 74 | 69 63 6c 65 54 79 70 65 |t ASUArt|icleType| |00004e90| 20 6b 53 74 79 6c 65 64 | 54 65 78 74 41 72 74 69 | kStyled|TextArti| |00004ea0| 63 6c 65 49 74 65 6d 20 | 3d 20 27 53 54 58 54 27 |cleItem |= 'STXT'| |00004eb0| 3b 0d 63 6f 6e 73 74 20 | 41 53 55 41 72 74 69 63 |;.const |ASUArtic| |00004ec0| 6c 65 54 79 70 65 20 6b | 50 49 43 54 41 72 74 69 |leType k|PICTArti| |00004ed0| 63 6c 65 49 74 65 6d 20 | 3d 20 27 50 49 43 54 27 |cleItem |= 'PICT'| |00004ee0| 3b 0d 63 6f 6e 73 74 20 | 41 53 55 41 72 74 69 63 |;.const |ASUArtic| |00004ef0| 6c 65 54 79 70 65 20 6b | 54 49 46 46 41 72 74 69 |leType k|TIFFArti| |00004f00| 63 6c 65 49 74 65 6d 20 | 3d 20 27 54 49 46 46 27 |cleItem |= 'TIFF'| |00004f10| 3b 0d 63 6f 6e 73 74 20 | 41 53 55 41 72 74 69 63 |;.const |ASUArtic| |00004f20| 6c 65 54 79 70 65 20 6b | 51 75 69 63 6b 54 69 6d |leType k|QuickTim| |00004f30| 65 41 72 74 69 63 6c 65 | 49 74 65 6d 20 3d 20 27 |eArticle|Item = '| |00004f40| 51 54 49 4d 27 3b 0d 63 | 6f 6e 73 74 20 41 53 55 |QTIM';.c|onst ASU| |00004f50| 41 72 74 69 63 6c 65 54 | 79 70 65 20 6b 53 6f 75 |ArticleT|ype kSou| |00004f60| 6e 64 41 72 74 69 63 6c | 65 49 74 65 6d 20 3d 20 |ndArticl|eItem = | |00004f70| 27 20 53 4e 44 27 3b 0d | 63 6f 6e 73 74 20 41 53 |' SND';.|const AS| |00004f80| 55 41 72 74 69 63 6c 65 | 54 79 70 65 20 6b 43 6f |UArticle|Type kCo| |00004f90| 6d 70 6f 75 6e 64 41 72 | 74 69 63 6c 65 49 74 65 |mpoundAr|ticleIte| |00004fa0| 6d 20 3d 20 27 43 4d 50 | 44 27 3b 0d 41 70 70 6c |m = 'CMP|D';.Appl| |00004fb0| 65 53 65 61 72 63 68 20 | 76 65 72 73 69 6f 6e 20 |eSearch |version | |00004fc0| 31 2e 30 20 73 75 70 70 | 6f 72 74 73 20 6f 6e 6c |1.0 supp|orts onl| |00004fd0| 79 20 74 65 78 74 20 61 | 72 74 69 63 6c 65 73 2c |y text a|rticles,| |00004fe0| 20 77 68 69 63 68 20 61 | 72 65 20 70 61 63 6b 65 | which a|re packe| |00004ff0| 64 20 61 72 72 61 79 73 | 20 6f 66 20 41 53 43 49 |d arrays| of ASCI| |00005000| 49 20 63 68 61 72 61 63 | 74 65 72 73 20 74 65 72 |I charac|ters ter| |00005010| 6d 69 6e 61 74 65 64 20 | 62 79 20 61 70 70 72 6f |minated |by appro| |00005020| 70 72 69 61 74 65 20 65 | 6e 64 2d 6f 66 2d 6c 69 |priate e|nd-of-li| |00005030| 6e 65 20 63 68 61 72 61 | 63 74 65 72 28 73 29 2e |ne chara|cter(s).| |00005040| 0d 43 6f 6d 70 6f 75 6e | 64 20 61 72 74 69 63 6c |.Compoun|d articl| |00005050| 65 73 0d 41 20 63 6f 6d | 70 6f 75 6e 64 20 61 72 |es.A com|pound ar| |00005060| 74 69 63 6c 65 20 69 73 | 20 61 6e 20 61 72 74 69 |ticle is| an arti| |00005070| 63 6c 65 20 74 68 61 74 | 20 63 6f 6e 74 61 69 6e |cle that| contain| |00005080| 73 20 6d 6f 72 65 20 74 | 68 61 6e 20 6f 6e 65 20 |s more t|han one | |00005090| 65 6c 65 6d 65 6e 74 20 | 28 73 75 62 61 72 74 69 |element |(subarti| |000050a0| 63 6c 65 29 2e 20 46 6f | 72 20 65 78 61 6d 70 6c |cle). Fo|r exampl| |000050b0| 65 2c 20 61 6e 20 61 72 | 74 69 63 6c 65 20 77 69 |e, an ar|ticle wi| |000050c0| 74 68 20 61 20 50 49 43 | 54 20 69 6d 61 67 65 20 |th a PIC|T image | |000050d0| 61 6e 64 20 61 63 63 6f | 6d 70 61 6e 79 69 6e 67 |and acco|mpanying| |000050e0| 20 74 65 78 74 20 69 73 | 20 61 20 63 6f 6d 70 6f | text is| a compo| |000050f0| 75 6e 64 20 61 72 74 69 | 63 6c 65 2e 20 49 74 20 |und arti|cle. It | |00005100| 68 61 73 20 61 6e 20 61 | 72 74 69 63 6c 65 20 74 |has an a|rticle t| |00005110| 79 70 65 20 6f 66 20 27 | 43 4d 50 44 27 2e 20 54 |ype of '|CMPD'. T| |00005120| 68 65 20 64 61 74 61 20 | 73 74 72 75 63 74 75 72 |he data |structur| |00005130| 65 20 6f 66 20 61 20 63 | 6f 6d 70 6f 75 6e 64 20 |e of a c|ompound | |00005140| 61 72 74 69 63 6c 65 20 | 64 61 74 61 20 73 65 63 |article |data sec| |00005150| 74 69 6f 6e 20 61 6e 64 | 20 61 6e 20 65 78 61 6d |tion and| an exam| |00005160| 70 6c 65 20 6f 66 20 69 | 74 73 20 75 73 65 20 66 |ple of i|ts use f| |00005170| 6f 6c 6c 6f 77 2e 0d 46 | 6f 72 6d 61 74 0d 73 74 |ollow..F|ormat.st| |00005180| 72 75 63 74 20 41 53 55 | 43 6f 6d 70 6f 75 6e 64 |ruct ASU|Compound| |00005190| 41 72 74 69 63 6c 65 20 | 7b 0d 09 75 6e 73 69 67 |Article |{..unsig| |000051a0| 6e 65 64 20 6c 6f 6e 67 | 09 09 6e 75 6d 62 65 72 |ned long|..number| |000051b0| 4f 66 53 75 62 41 72 74 | 69 63 6c 65 73 3b 0d 09 |OfSubArt|icles;..| |000051c0| 41 53 55 53 75 62 41 72 | 74 69 63 6c 65 20 5b 5d |ASUSubAr|ticle []| |000051d0| 09 73 75 62 41 72 74 69 | 63 6c 65 73 3b 0d 73 74 |.subArti|cles;.st| |000051e0| 72 75 63 74 20 41 53 55 | 53 75 62 41 72 74 69 63 |ruct ASU|SubArtic| |000051f0| 6c 65 20 7b 0d 09 41 53 | 55 44 61 74 61 53 69 7a |le {..AS|UDataSiz| |00005200| 65 09 09 73 75 62 41 72 | 74 69 63 6c 65 44 61 74 |e..subAr|ticleDat| |00005210| 61 53 69 7a 65 3b 0d 09 | 41 53 55 41 72 74 69 63 |aSize;..|ASUArtic| |00005220| 6c 65 54 79 70 65 09 09 | 73 75 62 41 72 74 69 63 |leType..|subArtic| |00005230| 6c 65 54 79 70 65 3b 0d | 09 42 79 74 65 5b 5d 09 |leType;.|.Byte[].| |00005240| 09 09 73 75 62 41 72 74 | 69 63 6c 65 44 61 74 61 |..subArt|icleData| |00005250| 3b 0d 09 7d 3b 0d 0d 45 | 78 61 6d 70 6c 65 0d 48 |;..};..E|xample.H| |00005260| 65 72 65 20 69 73 20 77 | 68 61 74 20 61 20 63 6f |ere is w|hat a co| |00005270| 6d 70 6f 75 6e 64 20 61 | 72 74 69 63 6c 65 20 6d |mpound a|rticle m| |00005280| 61 64 65 20 75 70 20 6f | 66 20 61 20 73 74 79 6c |ade up o|f a styl| |00005290| 65 64 20 74 65 78 74 2c | 20 61 20 50 49 43 54 2c |ed text,| a PICT,| |000052a0| 20 61 6e 64 20 61 20 51 | 75 69 63 6b 54 69 6d 65 | and a Q|uickTime| |000052b0| 20 6d 6f 76 69 65 20 6c | 6f 6f 6b 73 20 6c 69 6b | movie l|ooks lik| |000052c0| 65 20 61 73 20 70 61 72 | 74 20 6f 66 20 61 6e 20 |e as par|t of an | |000052d0| 75 70 64 61 74 65 20 66 | 69 6c 65 2e 20 49 74 73 |update f|ile. Its| |000052e0| 20 74 69 74 6c 65 20 69 | 73 20 d2 41 70 70 6c 65 | title i|s .Apple| |000052f0| 20 4e 65 77 73 d3 20 61 | 6e 64 20 69 74 73 20 73 | News. a|nd its s| |00005300| 6f 75 72 63 65 20 69 73 | 20 d2 48 6f 74 20 4e 65 |ource is| .Hot Ne| |00005310| 77 73 2e d3 0d 2f 2f 44 | 61 74 61 20 63 6f 6e 74 |ws...//D|ata cont| |00005320| 61 69 6e 65 72 20 68 65 | 61 64 65 72 0d 6c 6f 6e |ainer he|ader.lon| |00005330| 67 09 34 30 32 30 31 09 | 09 2f 2f 20 73 69 7a 65 |g.40201.|.// size| |00005340| 20 6f 66 20 74 68 65 20 | 64 61 74 61 20 73 65 63 | of the |data sec| |00005350| 74 69 6f 6e 20 28 68 65 | 61 64 65 72 20 2b 20 64 |tion (he|ader + d| |00005360| 61 74 61 29 0d 6c 6f 6e | 67 09 27 41 52 54 4c 27 |ata).lon|g.'ARTL'| |00005370| 09 2f 2f 20 64 61 74 61 | 20 63 6f 6e 74 61 69 6e |.// data| contain| |00005380| 65 72 20 74 79 70 65 20 | 69 73 20 61 6e 20 61 72 |er type |is an ar| |00005390| 74 69 63 6c 65 0d 6c 6f | 6e 67 09 30 09 09 2f 2f |ticle.lo|ng.0..//| |000053a0| 20 64 61 74 61 20 63 6f | 6e 74 61 69 6e 65 72 20 | data co|ntainer | |000053b0| 69 64 20 2d 20 6e 6f 74 | 20 75 73 65 64 0d 6c 6f |id - not| used.lo| |000053c0| 6e 67 09 30 09 09 2f 2f | 20 64 61 74 61 20 63 6f |ng.0..//| data co| |000053d0| 6e 74 61 69 6e 65 72 20 | 75 73 65 72 20 72 65 66 |ntainer |user ref| |000053e0| 20 63 6f 6e 0d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d | con.---|--------| |000053f0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------| |00005400| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------| |00005410| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 0d |--------|-------.| |00005420| 2f 2f 43 6f 6d 70 6f 75 | 6e 64 20 61 72 74 69 63 |//Compou|nd artic| |00005430| 6c 65 20 68 65 61 64 65 | 72 0d 6c 6f 6e 67 09 34 |le heade|r.long.4| |00005440| 38 09 09 09 09 2f 2f 20 | 73 69 7a 65 20 6f 66 20 |8....// |size of | |00005450| 74 68 65 20 61 72 74 69 | 63 6c 65 20 68 65 61 64 |the arti|cle head| |00005460| 65 72 0d 6c 6f 6e 67 09 | 34 30 31 35 33 09 09 09 |er.long.|40153...| |00005470| 09 2f 2f 20 73 69 7a 65 | 20 6f 66 20 61 72 74 69 |.// size| of arti| |00005480| 63 6c 65 20 64 61 74 61 | 0d 6c 6f 6e 67 09 27 43 |cle data|.long.'C| |00005490| 4d 50 44 27 09 09 09 2f | 2f 20 63 6f 6d 70 6f 75 |MPD'.../|/ compou| |000054a0| 6e 64 20 61 72 74 69 63 | 6c 65 20 74 79 70 65 0d |nd artic|le type.| |000054b0| 41 53 55 41 72 74 69 63 | 6c 65 54 69 6d 65 0d 09 |ASUArtic|leTime..| |000054c0| 41 72 74 69 63 6c 65 44 | 61 74 65 54 69 6d 65 20 |ArticleD|ateTime | |000054d0| 09 2f 2f 20 64 61 74 65 | 20 61 6e 64 20 74 69 6d |.// date| and tim| |000054e0| 65 20 6f 66 20 74 68 69 | 73 20 61 72 74 69 63 6c |e of thi|s articl| |000054f0| 65 0d 6c 6f 6e 67 09 30 | 09 09 09 09 2f 2f 20 75 |e.long.0|....// u| |00005500| 73 65 72 20 62 79 74 65 | 73 0d 43 53 74 72 69 6e |ser byte|s.CStrin| |00005510| 67 20 0d 09 d2 41 70 70 | 6c 65 20 4e 65 77 73 d3 |g ...App|le News.| |00005520| 09 09 2f 2f 20 74 69 74 | 6c 65 3b 20 6e 75 6c 6c |..// tit|le; null| |00005530| 2d 74 65 72 6d 69 6e 61 | 74 65 64 0d 43 53 74 72 |-termina|ted.CStr| |00005540| 69 6e 67 20 0d 09 d2 48 | 6f 74 20 4e 65 77 73 d3 |ing ...H|ot News.| |00005550| 09 09 2f 2f 20 73 6f 75 | 72 63 65 3b 20 6e 75 6c |..// sou|rce; nul| |00005560| 6c 2d 74 65 72 6d 69 6e | 61 74 65 64 0d 2d 2d 2d |l-termin|ated.---| |00005570| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------| |00005580| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------| |00005590| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------| |000055a0| 2d 2d 2d 2d 2d 2d 2d 0d | 2f 2f 43 6f 6d 70 6f 75 |-------.|//Compou| |000055b0| 6e 64 20 61 72 74 69 63 | 6c 65 20 64 61 74 61 20 |nd artic|le data | |000055c0| 73 65 63 74 69 6f 6e 0d | 6c 6f 6e 67 20 33 09 09 |section.|long 3..| |000055d0| 09 09 2f 2f 20 6e 75 6d | 62 65 72 20 6f 66 20 73 |..// num|ber of s| |000055e0| 75 62 61 72 74 69 63 6c | 65 73 0d 41 53 44 61 74 |ubarticl|es.ASDat| |000055f0| 61 53 69 7a 65 20 31 32 | 35 09 09 09 2f 2f 20 73 |aSize 12|5...// s| |00005600| 69 7a 65 20 6f 66 20 74 | 68 65 20 73 74 79 6c 65 |ize of t|he style| |00005610| 64 20 74 65 78 74 20 64 | 61 74 61 0d 41 53 41 72 |d text d|ata.ASAr| |00005620| 74 69 63 6c 65 54 79 70 | 65 20 27 53 54 58 54 27 |ticleTyp|e 'STXT'| |00005630| 09 09 2f 2f 20 73 74 79 | 6c 65 64 20 74 65 78 74 |..// sty|led text| |00005640| 20 74 79 70 65 0d 42 79 | 74 65 73 5b 5d 20 64 61 | type.By|tes[] da| |00005650| 74 61 09 09 09 2f 2f 20 | 74 68 65 20 73 74 79 6c |ta...// |the styl| |00005660| 65 64 20 74 65 78 74 20 | 69 74 73 65 6c 66 0d 41 |ed text |itself.A| |00005670| 53 44 61 74 61 53 69 7a | 65 20 38 30 30 30 09 09 |SDataSiz|e 8000..| |00005680| 2f 2f 20 73 69 7a 65 20 | 6f 66 20 74 68 65 20 50 |// size |of the P| |00005690| 49 43 54 20 64 61 74 61 | 0d 41 53 41 72 74 69 63 |ICT data|.ASArtic| |000056a0| 6c 65 54 79 70 65 20 27 | 50 49 43 54 27 09 09 2f |leType '|PICT'../| |000056b0| 2f 20 69 6d 61 67 65 20 | 74 79 70 65 0d 42 79 74 |/ image |type.Byt| |000056c0| 65 73 5b 5d 20 64 61 74 | 61 09 09 09 2f 2f 20 74 |es[] dat|a...// t| |000056d0| 68 65 20 50 49 43 54 20 | 69 74 73 65 6c 66 0d 41 |he PICT |itself.A| |000056e0| 53 44 61 74 61 53 69 7a | 65 20 33 32 30 30 30 09 |SDataSiz|e 32000.| |000056f0| 09 2f 2f 20 73 69 7a 65 | 20 6f 66 20 74 68 65 20 |.// size| of the | |00005700| 51 54 20 6d 6f 76 69 65 | 20 64 61 74 61 0d 41 53 |QT movie| data.AS| |00005710| 41 72 74 69 63 6c 65 54 | 79 70 65 20 27 51 54 49 |ArticleT|ype 'QTI| |00005720| 4d 27 09 09 2f 2f 20 51 | 75 69 63 6b 54 69 6d 65 |M'..// Q|uickTime| |00005730| 20 6d 6f 76 69 65 20 74 | 79 70 65 0d 42 79 74 65 | movie t|ype.Byte| |00005740| 73 5b 5d 20 64 61 74 61 | 09 09 09 2f 2f 20 74 68 |s[] data|...// th| |00005750| 65 20 51 54 20 6d 6f 76 | 69 65 20 69 74 73 65 6c |e QT mov|ie itsel| |00005760| 66 0d 4e 6f 74 65 73 0d | 41 70 70 6c 65 53 65 61 |f.Notes.|AppleSea| |00005770| 72 63 68 20 76 65 72 73 | 69 6f 6e 20 31 2e 30 20 |rch vers|ion 1.0 | |00005780| 63 61 6e 6e 6f 74 20 72 | 65 61 64 20 63 6f 6d 70 |cannot r|ead comp| |00005790| 6f 75 6e 64 20 61 72 74 | 69 63 6c 65 73 2e 20 49 |ound art|icles. I| |000057a0| 74 20 63 61 6e 20 6f 6e | 6c 79 20 72 65 61 64 20 |t can on|ly read | |000057b0| 61 6e 64 20 64 69 73 70 | 6c 61 79 20 74 65 78 74 |and disp|lay text| |000057c0| 20 61 72 74 69 63 6c 65 | 73 2e 20 43 6f 6d 70 6f | article|s. Compo| |000057d0| 75 6e 64 20 61 72 74 69 | 63 6c 65 73 20 61 72 65 |und arti|cles are| |000057e0| 20 73 69 6d 70 6c 79 20 | 69 67 6e 6f 72 65 64 20 | simply |ignored | |000057f0| 69 6e 20 61 6e 20 75 70 | 64 61 74 65 20 64 6f 63 |in an up|date doc| |00005800| 75 6d 65 6e 74 2e 0d 0d | 0d 0d 33 09 41 70 70 6c |ument...|..3.Appl| |00005810| 65 53 65 61 72 63 68 20 | 55 74 69 6c 69 74 79 20 |eSearch |Utility | |00005820| 52 6f 75 74 69 6e 65 73 | 0d 41 70 70 6c 65 53 65 |Routines|.AppleSe| |00005830| 61 72 63 68 20 70 72 6f | 76 69 64 65 73 20 72 6f |arch pro|vides ro| |00005840| 75 74 69 6e 65 73 20 66 | 6f 72 20 77 6f 72 6b 69 |utines f|or worki| |00005850| 6e 67 20 77 69 74 68 20 | 75 70 64 61 74 65 20 66 |ng with |update f| |00005860| 69 6c 65 73 2e 20 54 68 | 65 79 20 61 72 65 20 64 |iles. Th|ey are d| |00005870| 69 76 69 64 65 64 20 69 | 6e 74 6f 20 75 70 64 61 |ivided i|nto upda| |00005880| 74 65 20 75 74 69 6c 69 | 74 79 20 72 6f 75 74 69 |te utili|ty routi| |00005890| 6e 65 73 2c 20 61 72 74 | 69 63 6c 65 20 72 6f 75 |nes, art|icle rou| |000058a0| 74 69 6e 65 73 2c 20 61 | 6e 64 20 64 61 74 61 20 |tines, a|nd data | |000058b0| 63 6f 6e 74 61 69 6e 65 | 72 20 72 6f 75 74 69 6e |containe|r routin| |000058c0| 65 73 2e 0d 46 69 6c 65 | 20 75 74 69 6c 69 74 79 |es..File| utility| |000058d0| 20 72 6f 75 74 69 6e 65 | 73 0d 54 68 65 20 75 70 | routine|s.The up| |000058e0| 64 61 74 65 20 75 74 69 | 6c 69 74 79 20 72 6f 75 |date uti|lity rou| |000058f0| 74 69 6e 65 73 20 70 72 | 6f 76 69 64 65 20 61 20 |tines pr|ovide a | |00005900| 73 65 74 20 6f 66 20 72 | 6f 75 74 69 6e 65 73 20 |set of r|outines | |00005910| 66 6f 72 20 63 72 65 61 | 74 69 6e 67 2c 20 72 65 |for crea|ting, re| |00005920| 61 64 69 6e 67 2c 20 65 | 64 69 74 69 6e 67 2c 20 |ading, e|diting, | |00005930| 61 6e 64 20 77 72 69 74 | 69 6e 67 20 75 70 64 61 |and writ|ing upda| |00005940| 74 65 20 66 69 6c 65 73 | 2e 20 0d 42 61 73 69 63 |te files|. .Basic| |00005950| 20 74 79 70 65 20 64 65 | 66 69 6e 69 74 69 6f 6e | type de|finition| |00005960| 73 0d 54 68 65 20 62 61 | 73 69 63 20 74 79 70 65 |s.The ba|sic type| |00005970| 73 20 61 72 65 20 64 65 | 66 69 6e 65 64 20 69 6e |s are de|fined in| |00005980| 20 74 68 65 20 41 53 55 | 54 79 70 65 73 2e 68 20 | the ASU|Types.h | |00005990| 66 69 6c 65 20 61 6e 64 | 20 61 72 65 20 61 73 20 |file and| are as | |000059a0| 66 6f 6c 6c 6f 77 73 3a | 0d 74 79 70 65 64 65 66 |follows:|.typedef| |000059b0| 20 75 6e 73 69 67 6e 65 | 64 20 6c 6f 6e 67 0d 09 | unsigne|d long..| |000059c0| 09 09 41 53 55 4f 66 66 | 73 65 74 3b 09 09 2f 2f |..ASUOff|set;..//| |000059d0| 20 72 65 6c 61 74 69 76 | 65 20 6f 66 66 73 65 74 | relativ|e offset| |000059e0| 20 66 72 6f 6d 20 74 68 | 65 20 0d 09 09 09 09 09 | from th|e ......| |000059f0| 09 2f 2f 20 66 69 6c 65 | 20 70 74 72 0d 74 79 70 |.// file| ptr.typ| |00005a00| 65 64 65 66 20 75 6e 73 | 69 67 6e 65 64 20 6c 6f |edef uns|igned lo| |00005a10| 6e 67 0d 09 09 09 41 53 | 55 44 61 74 61 53 69 7a |ng....AS|UDataSiz| |00005a20| 65 3b 09 2f 2f 20 64 61 | 74 61 20 73 69 7a 65 0d |e;.// da|ta size.| |00005a30| 74 79 70 65 64 65 66 20 | 75 6e 73 69 67 6e 65 64 |typedef |unsigned| |00005a40| 20 6c 6f 6e 67 0d 09 09 | 09 41 53 55 43 6f 75 6e | long...|.ASUCoun| |00005a50| 74 3b 09 09 2f 2f 20 6e | 75 6d 62 65 72 20 6f 66 |t;..// n|umber of| |00005a60| 20 74 68 69 6e 67 73 0d | 74 79 70 65 64 65 66 20 | things.|typedef | |00005a70| 52 65 73 54 79 70 65 0d | 09 09 09 41 53 55 54 79 |ResType.|...ASUTy| |00005a80| 70 65 3b 09 09 2f 2f 20 | 75 70 64 61 74 65 20 74 |pe;..// |update t| |00005a90| 79 70 65 20 0d 74 79 70 | 65 64 65 66 20 52 65 73 |ype .typ|edef Res| |00005aa0| 54 79 70 65 0d 09 09 09 | 41 53 55 41 72 74 69 63 |Type....|ASUArtic| |00005ab0| 6c 65 54 79 70 65 3b 0d | 09 09 09 09 09 09 2f 2f |leType;.|......//| |00005ac0| 20 61 72 74 69 63 6c 65 | 20 74 79 70 65 20 69 73 | article| type is| |00005ad0| 20 61 20 70 61 63 6b 65 | 64 20 0d 09 09 09 09 09 | a packe|d ......| |00005ae0| 09 2f 2f 20 61 72 72 61 | 79 0d 74 79 70 65 64 65 |.// arra|y.typede| |00005af0| 66 20 52 65 73 54 79 70 | 65 09 0d 09 09 09 41 53 |f ResTyp|e.....AS| |00005b00| 55 55 70 64 61 74 65 54 | 79 70 65 3b 09 2f 2f 20 |UUpdateT|ype;.// | |00005b10| 74 79 70 65 20 6f 66 20 | 75 70 64 61 74 65 20 66 |type of |update f| |00005b20| 69 6c 65 0d 74 79 70 65 | 64 65 66 20 52 65 73 54 |ile.type|def ResT| |00005b30| 79 70 65 09 0d 09 09 09 | 41 53 55 44 43 54 79 70 |ype.....|ASUDCTyp| |00005b40| 65 3b 09 09 2f 2f 20 64 | 61 74 61 20 63 6f 6e 74 |e;..// d|ata cont| |00005b50| 61 69 6e 65 72 20 74 79 | 70 65 0d 74 79 70 65 64 |ainer ty|pe.typed| |00005b60| 65 66 20 41 53 55 4f 66 | 66 73 65 74 0d 09 09 09 |ef ASUOf|fset....| |00005b70| 41 53 55 44 43 50 74 72 | 09 09 2f 2f 20 70 74 72 |ASUDCPtr|..// ptr| |00005b80| 20 74 6f 20 64 61 74 61 | 20 63 6f 6e 74 61 69 6e | to data| contain| |00005b90| 65 72 0d 55 70 64 61 74 | 65 20 69 6e 66 6f 20 64 |er.Updat|e info d| |00005ba0| 61 74 61 20 73 74 72 75 | 63 74 75 72 65 0d 54 68 |ata stru|cture.Th| |00005bb0| 65 20 75 70 64 61 74 65 | 20 69 6e 66 6f 20 64 61 |e update| info da| |00005bc0| 74 61 20 73 74 72 75 63 | 74 75 72 65 20 69 73 20 |ta struc|ture is | |00005bd0| 64 65 66 69 6e 65 64 20 | 69 6e 20 74 68 65 20 41 |defined |in the A| |00005be0| 53 55 55 70 64 61 74 65 | 55 74 69 6c 69 74 69 65 |SUUpdate|Utilitie| |00005bf0| 73 2e 68 20 66 69 6c 65 | 20 61 6e 64 20 68 61 73 |s.h file| and has| |00005c00| 20 74 68 65 20 66 6f 6c | 6c 6f 77 69 6e 67 20 66 | the fol|lowing f| |00005c10| 6f 72 6d 61 74 3a 0d 73 | 74 72 75 63 74 20 41 53 |ormat:.s|truct AS| |00005c20| 55 55 70 64 61 74 65 49 | 6e 66 6f 20 7b 0d 09 41 |UUpdateI|nfo {..A| |00005c30| 53 55 54 79 70 65 09 75 | 70 64 61 74 65 54 79 70 |SUType.u|pdateTyp| |00005c40| 65 3b 0d 09 6c 6f 6e 67 | 09 09 75 70 64 61 74 65 |e;..long|..update| |00005c50| 56 65 72 73 69 6f 6e 3b | 0d 7d 3b 0d 52 6f 75 74 |Version;|.};.Rout| |00005c60| 69 6e 65 73 0d 54 68 65 | 20 66 6f 6c 6c 6f 77 69 |ines.The| followi| |00005c70| 6e 67 20 75 70 64 61 74 | 65 20 75 74 69 6c 69 74 |ng updat|e utilit| |00005c80| 79 20 72 6f 75 74 69 6e | 65 73 20 61 72 65 20 64 |y routin|es are d| |00005c90| 65 66 69 6e 65 64 20 69 | 6e 20 74 68 65 20 41 53 |efined i|n the AS| |00005ca0| 55 55 70 64 61 74 65 55 | 74 69 6c 69 74 69 65 73 |UUpdateU|tilities| |00005cb0| 2e 68 20 66 69 6c 65 20 | 61 6e 64 20 61 72 65 20 |.h file |and are | |00005cc0| 64 65 73 63 72 69 62 65 | 64 20 69 6e 20 64 65 74 |describe|d in det| |00005cd0| 61 69 6c 20 69 6e 20 74 | 68 65 20 73 65 63 74 69 |ail in t|he secti| |00005ce0| 6f 6e 73 20 74 68 61 74 | 20 66 6f 6c 6c 6f 77 3a |ons that| follow:| |00005cf0| 0d 4f 53 45 72 72 20 41 | 53 55 43 72 65 61 74 65 |.OSErr A|SUCreate| |00005d00| 55 70 64 61 74 65 46 69 | 6c 65 28 20 46 53 53 70 |UpdateFi|le( FSSp| |00005d10| 65 63 2a 20 66 69 6c 65 | 2c 20 4f 53 54 79 70 65 |ec* file|, OSType| |00005d20| 20 63 72 65 61 74 6f 72 | 2c 20 0d 09 20 41 53 55 | creator|, .. ASU| |00005d30| 54 79 70 65 20 74 79 70 | 65 2c 20 6c 6f 6e 67 20 |Type typ|e, long | |00005d40| 76 65 72 73 69 6f 6e 20 | 29 3b 0d 4f 53 45 72 72 |version |);.OSErr| |00005d50| 20 41 53 55 4f 70 65 6e | 55 70 64 61 74 65 46 69 | ASUOpen|UpdateFi| |00005d60| 6c 65 28 20 46 53 53 70 | 65 63 2a 20 66 69 6c 65 |le( FSSp|ec* file| |00005d70| 2c 20 73 68 6f 72 74 2a | 20 72 65 66 6e 75 6d 20 |, short*| refnum | |00005d80| 29 3b 0d 4f 53 45 72 72 | 20 41 53 55 43 6c 6f 73 |);.OSErr| ASUClos| |00005d90| 65 55 70 64 61 74 65 46 | 69 6c 65 28 20 73 68 6f |eUpdateF|ile( sho| |00005da0| 72 74 20 72 65 66 6e 75 | 6d 20 29 3b 0d 4f 53 45 |rt refnu|m );.OSE| |00005db0| 72 72 20 41 53 55 52 65 | 61 64 55 70 64 61 74 65 |rr ASURe|adUpdate| |00005dc0| 49 6e 66 6f 28 20 73 68 | 6f 72 74 20 72 65 66 6e |Info( sh|ort refn| |00005dd0| 75 6d 2c 20 0d 09 20 41 | 53 55 70 64 61 74 65 49 |um, .. A|SUpdateI| |00005de0| 6e 66 6f 2a 20 68 65 61 | 64 65 72 20 29 3b 0d 4f |nfo* hea|der );.O| |00005df0| 53 45 72 72 20 41 53 55 | 57 72 69 74 65 55 70 64 |SErr ASU|WriteUpd| |00005e00| 61 74 65 49 6e 66 6f 28 | 20 73 68 6f 72 74 20 72 |ateInfo(| short r| |00005e10| 65 66 6e 75 6d 2c 20 0d | 09 20 41 53 55 70 64 61 |efnum, .|. ASUpda| |00005e20| 74 65 49 6e 66 6f 2a 20 | 68 65 61 64 65 72 20 29 |teInfo* |header )| |00005e30| 3b 0d 4f 53 45 72 72 20 | 41 53 55 43 6f 6d 70 61 |;.OSErr |ASUCompa| |00005e40| 63 74 55 70 64 61 74 65 | 46 69 6c 65 28 20 73 68 |ctUpdate|File( sh| |00005e50| 6f 72 74 20 72 65 66 6e | 75 6d 20 29 3b 0d 43 72 |ort refn|um );.Cr| |00005e60| 65 61 74 65 20 75 70 64 | 61 74 65 20 66 69 6c 65 |eate upd|ate file| |00005e70| 0d 4f 53 45 72 72 20 41 | 53 55 43 72 65 61 74 65 |.OSErr A|SUCreate| |00005e80| 55 70 64 61 74 65 46 69 | 6c 65 28 20 46 53 53 70 |UpdateFi|le( FSSp| |00005e90| 65 63 2a 20 66 69 6c 65 | 2c 20 4f 53 54 79 70 65 |ec* file|, OSType| |00005ea0| 20 63 72 65 61 74 6f 72 | 2c 20 0d 09 41 53 55 54 | creator|, ..ASUT| |00005eb0| 79 70 65 20 74 79 70 65 | 2c 20 6c 6f 6e 67 20 76 |ype type|, long v| |00005ec0| 65 72 73 69 6f 6e 20 29 | 0d 54 68 69 73 20 66 75 |ersion )|.This fu| |00005ed0| 6e 63 74 69 6f 6e 20 63 | 72 65 61 74 65 73 20 61 |nction c|reates a| |00005ee0| 20 6e 65 77 20 75 70 64 | 61 74 65 20 66 69 6c 65 | new upd|ate file| |00005ef0| 2c 20 61 70 70 65 6e 64 | 73 20 61 6e 20 27 46 48 |, append|s an 'FH| |00005f00| 44 52 27 20 28 41 53 55 | 44 43 54 79 70 65 46 69 |DR' (ASU|DCTypeFi| |00005f10| 6c 65 48 65 61 64 65 72 | 29 20 64 61 74 61 20 63 |leHeader|) data c| |00005f20| 6f 6e 74 61 69 6e 65 72 | 20 66 6f 72 20 74 68 65 |ontainer| for the| |00005f30| 20 66 69 6c 65 20 68 65 | 61 64 65 72 20 61 6e 64 | file he|ader and| |00005f40| 20 77 72 69 74 65 73 20 | 0d 66 69 6c 65 20 69 6e | writes |.file in| |00005f50| 66 6f 72 6d 61 74 69 6f | 6e 20 70 61 73 73 65 64 |formatio|n passed| |00005f60| 20 74 6f 20 74 68 65 20 | 72 6f 75 74 69 6e 65 2e | to the |routine.| |00005f70| 20 54 68 65 20 66 69 6c | 65 20 66 6f 72 6d 61 74 | The fil|e format| |00005f80| 20 76 65 72 73 69 6f 6e | 20 69 73 20 73 65 74 20 | version| is set | |00005f90| 74 6f 20 6b 56 65 72 73 | 69 6f 6e 31 2c 20 77 68 |to kVers|ion1, wh| |00005fa0| 69 63 68 20 69 73 20 31 | 2e 0d 50 61 72 61 6d 65 |ich is 1|..Parame| |00005fb0| 74 65 72 73 0d 66 69 6c | 65 09 46 53 53 70 65 63 |ters.fil|e.FSSpec| |00005fc0| 20 73 70 65 63 69 66 79 | 69 6e 67 20 74 68 65 20 | specify|ing the | |00005fd0| 66 69 6c 65 20 74 6f 20 | 62 65 20 63 72 65 61 74 |file to |be creat| |00005fe0| 65 64 2e 0d 63 72 65 61 | 74 6f 72 09 53 70 65 63 |ed..crea|tor.Spec| |00005ff0| 69 66 69 65 73 20 74 68 | 65 20 63 72 65 61 74 6f |ifies th|e creato| |00006000| 72 20 74 79 70 65 20 66 | 6f 72 20 74 68 69 73 20 |r type f|or this | |00006010| 66 69 6c 65 2e 0d 74 79 | 70 65 09 53 70 65 63 69 |file..ty|pe.Speci| |00006020| 66 69 65 73 20 74 68 65 | 20 75 70 64 61 74 65 20 |fies the| update | |00006030| 74 79 70 65 2e 0d 76 65 | 72 73 69 6f 6e 09 41 20 |type..ve|rsion.A | |00006040| 76 65 72 73 69 6f 6e 20 | 6e 75 6d 62 65 72 2e 0d |version |number..| |00006050| 52 65 74 75 72 6e 73 0d | 6e 6f 45 72 72 20 6f 72 |Returns.|noErr or| |00006060| 20 61 20 66 69 6c 65 20 | 73 79 73 74 65 6d 20 65 | a file |system e| |00006070| 72 72 6f 72 2e 0d 4f 70 | 65 6e 20 75 70 64 61 74 |rror..Op|en updat| |00006080| 65 20 66 69 6c 65 0d 4f | 53 45 72 72 20 41 53 55 |e file.O|SErr ASU| |00006090| 4f 70 65 6e 55 70 64 61 | 74 65 46 69 6c 65 28 20 |OpenUpda|teFile( | |000060a0| 46 53 53 70 65 63 2a 20 | 66 69 6c 65 2c 20 73 68 |FSSpec* |file, sh| |000060b0| 6f 72 74 2a 20 72 65 66 | 6e 75 6d 20 29 0d 54 68 |ort* ref|num ).Th| |000060c0| 69 73 20 66 75 6e 63 74 | 69 6f 6e 20 6f 70 65 6e |is funct|ion open| |000060d0| 73 20 61 6e 20 65 78 69 | 73 74 69 6e 67 20 75 70 |s an exi|sting up| |000060e0| 64 61 74 65 20 66 69 6c | 65 20 77 69 74 68 20 72 |date fil|e with r| |000060f0| 65 61 64 2f 77 72 69 74 | 65 20 70 65 72 6d 69 73 |ead/writ|e permis| |00006100| 73 69 6f 6e 2e 0d 50 61 | 72 61 6d 65 74 65 72 73 |sion..Pa|rameters| |00006110| 0d 66 69 6c 65 09 46 53 | 53 70 65 63 20 73 70 65 |.file.FS|Spec spe| |00006120| 63 69 66 79 69 6e 67 20 | 74 68 65 20 66 69 6c 65 |cifying |the file| |00006130| 20 74 6f 20 62 65 20 6f | 70 65 6e 65 64 2e 0d 72 | to be o|pened..r| |00006140| 65 66 6e 75 6d 09 41 20 | 66 69 6c 65 20 72 65 66 |efnum.A |file ref| |00006150| 65 72 65 6e 63 65 20 6e | 75 6d 62 65 72 20 69 73 |erence n|umber is| |00006160| 20 72 65 74 75 72 6e 65 | 64 20 69 6e 20 74 68 69 | returne|d in thi| |00006170| 73 20 70 61 72 61 6d 65 | 74 65 72 2e 0d 52 65 74 |s parame|ter..Ret| |00006180| 75 72 6e 73 0d 6e 6f 45 | 72 72 20 6f 72 20 61 20 |urns.noE|rr or a | |00006190| 66 69 6c 65 20 73 79 73 | 74 65 6d 20 65 72 72 6f |file sys|tem erro| |000061a0| 72 2e 0d 4e 6f 74 65 73 | 0d 54 68 65 20 72 65 66 |r..Notes|.The ref| |000061b0| 65 72 65 6e 63 65 20 6e | 75 6d 62 65 72 20 72 65 |erence n|umber re| |000061c0| 74 75 72 6e 65 64 20 62 | 79 20 74 68 69 73 20 66 |turned b|y this f| |000061d0| 75 6e 63 74 69 6f 6e 20 | 69 73 20 75 73 65 64 20 |unction |is used | |000061e0| 69 6e 20 6d 6f 73 74 20 | 6f 66 20 74 68 65 20 6f |in most |of the o| |000061f0| 74 68 65 72 20 66 75 6e | 63 74 69 6f 6e 20 63 61 |ther fun|ction ca| |00006200| 6c 6c 73 2e 0d 54 68 69 | 73 20 66 75 6e 63 74 69 |lls..Thi|s functi| |00006210| 6f 6e 20 73 65 74 73 20 | 74 68 65 20 74 79 70 65 |on sets |the type| |00006220| 20 6f 66 20 74 68 65 20 | 75 70 64 61 74 65 20 66 | of the |update f| |00006230| 69 6c 65 20 74 6f 20 6b | 41 70 70 6c 65 53 65 61 |ile to k|AppleSea| |00006240| 72 63 68 50 61 72 74 69 | 61 6c 55 70 64 61 74 65 |rchParti|alUpdate| |00006250| 46 69 6c 65 54 79 70 65 | 20 62 65 66 6f 72 65 20 |FileType| before | |00006260| 6f 70 65 6e 69 6e 67 2e | 0d 43 6c 6f 73 65 20 75 |opening.|.Close u| |00006270| 70 64 61 74 65 20 66 69 | 6c 65 0d 4f 53 45 72 72 |pdate fi|le.OSErr| |00006280| 20 41 53 55 43 6c 6f 73 | 65 55 70 64 61 74 65 46 | ASUClos|eUpdateF| |00006290| 69 6c 65 28 20 73 68 6f | 72 74 20 72 65 66 6e 75 |ile( sho|rt refnu| |000062a0| 6d 20 29 0d 54 68 69 73 | 20 66 75 6e 63 74 69 6f |m ).This| functio| |000062b0| 6e 20 63 6c 6f 73 65 73 | 20 61 6e 20 61 6c 72 65 |n closes| an alre| |000062c0| 61 64 79 20 6f 70 65 6e | 65 64 20 75 70 64 61 74 |ady open|ed updat| |000062d0| 65 20 66 69 6c 65 2e 0d | 50 61 72 61 6d 65 74 65 |e file..|Paramete| |000062e0| 72 73 0d 72 65 66 6e 75 | 6d 09 46 69 6c 65 20 72 |rs.refnu|m.File r| |000062f0| 65 66 65 72 65 6e 63 65 | 20 6e 75 6d 62 65 72 20 |eference| number | |00006300| 6f 66 20 61 6e 20 75 70 | 64 61 74 65 20 66 69 6c |of an up|date fil| |00006310| 65 20 74 6f 20 62 65 20 | 63 6c 6f 73 65 64 2e 0d |e to be |closed..| |00006320| 52 65 74 75 72 6e 73 0d | 6e 6f 45 72 72 20 6f 72 |Returns.|noErr or| |00006330| 20 61 20 66 69 6c 65 20 | 73 79 73 74 65 6d 20 65 | a file |system e| |00006340| 72 72 6f 72 2e 0d 4e 6f | 74 65 73 0d 54 68 69 73 |rror..No|tes.This| |00006350| 20 66 75 6e 63 74 69 6f | 6e 20 73 65 74 73 20 74 | functio|n sets t| |00006360| 68 65 20 66 69 6c 65 20 | 74 79 70 65 20 74 6f 20 |he file |type to | |00006370| 6b 41 70 70 6c 65 53 65 | 61 72 63 68 55 70 64 61 |kAppleSe|archUpda| |00006380| 74 65 46 69 6c 65 54 79 | 70 65 20 61 66 74 65 72 |teFileTy|pe after| |00006390| 20 74 68 65 20 66 69 6c | 65 20 69 73 20 63 6c 6f | the fil|e is clo| |000063a0| 73 65 64 2e 0d 52 65 61 | 64 20 75 70 64 61 74 65 |sed..Rea|d update| |000063b0| 20 69 6e 66 6f 0d 4f 53 | 45 72 72 20 41 53 55 52 | info.OS|Err ASUR| |000063c0| 65 61 64 55 70 64 61 74 | 65 49 6e 66 6f 28 20 73 |eadUpdat|eInfo( s| |000063d0| 68 6f 72 74 20 72 65 66 | 6e 75 6d 2c 20 0d 09 41 |hort ref|num, ..A| |000063e0| 53 55 55 70 64 61 74 65 | 49 6e 66 6f 2a 20 68 65 |SUUpdate|Info* he| |000063f0| 61 64 65 72 20 29 0d 54 | 68 69 73 20 66 75 6e 63 |ader ).T|his func| +--------+-------------------------+-------------------------+--------+--------+ Only 25.0 KB of data is shown above.